Recommend this page to a friend! |
Classes of Lars Moelleken | PHP CSS to Inline Styles | README.md | Download |
|
Download
CssToInlineStyles classWARNING: this is only a Extended-Fork of "https://github.com/tijsverkoyen/CssToInlineStyles" > CssToInlineStyles is a class that enables you to convert HTML-pages/files into > HTML-pages/files with inline styles. This is very usefull when you're sending > emails. AboutPHP CssToInlineStyles is a class to convert HTML into HTML with inline styles. InstallationThe recommended installation way is through Composer.
Example
DocumentationThe following properties exists and have set methods available: Property | Default | Description -------|---------|------------ cleanup|false|Should the generated HTML be cleaned? useInlineStylesBlock |false|Use inline-styles block as CSS. stripOriginalStyleTags |false|Strip original style tags. excludeMediaQueries |true|Exclude media queries from extra "css" and keep media queries for inline-styles blocks. excludeConditionalInlineStylesBlock |true|Exclude conditional inline-style blocks. WarningAlso if the default is
Known issues
|