637 posts
  • 5 Years of Membership
  • Author Level 2
  • Collector Level 2
  • Exclusive Author
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
637 posts
  • 5 Years of Membership
  • Author Level 2
  • Collector Level 2
  • Exclusive Author
Thecodingdude
says

Anybody want this? :P

517 posts Abid Omar
  • 7 Years of Membership
  • Affiliate Level 4
  • Author Level 7
  • Beta Tester
+9 more
omarabid
says

You’d better use GitHub for such code.

353 posts
  • Featured Item
  • Trendsetter
  • Winner
  • Netherlands
+9 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 :)

637 posts
  • 5 Years of Membership
  • Author Level 2
  • Collector Level 2
  • Exclusive Author
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