632 posts
  • Has been part of the Envato Community for over 4 years
  • Has sold $100+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
Thecodingdude says

Hello everyone :)

Today I was using prefixr, and noticed there isn’t a php API , so I decided to make one.

I am releasing this free of charge, because it’s fairly basic, and was put together quickly.

I didn’t find a way to put each css value on a new line.

How to use

Include the class file, and set it up as a new object.

Use $prefixr->get(“CSS CODE ”);

Download!

Download: http://www.mediafire.com/?snhdl14odeiymi8
632 posts
  • Has been part of the Envato Community for over 4 years
  • Has sold $100+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
Thecodingdude says

Anybody want this? :P

484 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 100+ members
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+6 more
omarabid says

You’d better use GitHub for such code.

341 posts
  • Has referred 50+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Located in Netherlands
+4 more
RikdeVos says

Cool! Perhaps you could make a Wordpress plugin that “prefixes” and compresses your stylesheets. A free plugin of course ;)

EDIT :

Just checked out the code and it looks like you forgot to urlencode the css in the url. Might wanna fix that :)

632 posts
  • Has been part of the Envato Community for over 4 years
  • Has sold $100+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
Thecodingdude says
RikdeVos said
Cool! Perhaps you could make a Wordpress plugin that “prefixes” and compresses your stylesheets. A free plugin of course ;)

EDIT :

Just checked out the code and it looks like you forgot to urlencode the css in the url. Might wanna fix that :)

Good point, this was just a quickie script, I’ll take a look.

Thanks for the feedback.

by
by
by
by
by
by