-
Notifications
You must be signed in to change notification settings - Fork 221
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
Support for pseudo tags #383
Comments
There isn't a way I know of to inline a hover state that is only active on hover. Do you know of one? |
@jrit What do you think about automatically adding !important to every pseudo selector?
and juice outputs:
Obviously, hover won't work because inline style has higher specificity and I have to manually put I understand that such option is a breaking change for existing codebases, but it could be disabled by default. |
That seems like a very reasonable transform to add and likely default that option to OFF to avoid breaking a bunch of people's styles on the update. If anyone wants to submit a PR, seems relatively straightforward to tackle |
@jrit I am very happy that you like the idea. |
@jrit can you suggest a name for such option? |
|
Not sure if this is by design, or a configuration option, but something like
<style> a:hover { text-decoration: none; } </style>
doesn't seem to get inlined
The text was updated successfully, but these errors were encountered: