629 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Sold between 100 and 1 000 dollars
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
629 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Sold between 100 and 1 000 dollars
Thecodingdude says

Anybody want this? :P

484 posts
  • Bought between 10 and 49 items
  • Contributed a Blog Post
  • Contributed a Tutorial to a Tuts+ Site
  • Envato Studio (Microlancer) Beta Tester
  • Exclusive Author
  • Has been a member for 6-7 years
  • Referred between 100 and 199 users
  • Sold between 50 000 and 100 000 dollars
+1 more
omarabid says

You’d better use GitHub for such code.

336 posts
  • Netherlands
  • Sold between 10 000 and 50 000 dollars
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Exclusive Author
  • Bought between 10 and 49 items
  • Referred between 50 and 99 users
  • Has been a member for 3-4 years
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 :)

629 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Sold between 100 and 1 000 dollars
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