php class to inline css styles?

后端 未结 7 2197
难免孤独
难免孤独 2021-02-14 04:21

I was over at MailChimp\'s css inliner http://www.mailchimp.com/labs/inlinecss.php and I was wondering if there are any classes out there that can do this, I\'d love to have it

7条回答
  •  不思量自难忘°
    2021-02-14 04:50

    Emogrifier did not work for me, so I have developed this: https://github.com/djfm/cssin. I've tried several other libs and none worked on my HTML files, my lib is pretty OK I think.

提交回复
热议问题