Skip to content

Custom attribute to ignore inlining #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Stranger6667 opened this issue Jun 21, 2020 · 1 comment · Fixed by #161
Closed

Custom attribute to ignore inlining #10

Stranger6667 opened this issue Jun 21, 2020 · 1 comment · Fixed by #161

Comments

@Stranger6667
Copy link
Owner

No description provided.

@kontur
Copy link

kontur commented Nov 14, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants