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.
BSD 3-Clause "New" or "Revised" License
5.8k stars 187 forks source link

Insert media queries to style tag in the head of the document when the sources css makes use of them. #192

Open ttcremers opened 5 years ago

ttcremers commented 5 years ago

css media queries were filtered out (which makes sense as they're not supported as inline style), now that more and more clients support style tags in the head it makes sense to include them there when the source css contains them.

adpeyre commented 3 years ago

Abandoned feature ? It would be useful. My media queries are lost.

superromeo commented 1 year ago

It would be really useful. Almost all clients support it. Media query support

BTW, Emogrifier has it.