css-inline
css-inline copied to clipboard
Custom attribute to ignore inlining
This feature would be great. Here's a real world use case I found where this would be very useful:
I am Inlining the css of an html email. I have some elements (e.g. images) that I'd like to swap with @media (prefers-color-scheme: dark ) — I could inline most CSS for these images, but the display: block|none to toggle display for default/dark mode will not work with inlined styles.