-
Notifications
You must be signed in to change notification settings - Fork 31.4k
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
@view-transition css selector different color #244678
Comments
|
at rule coloring is fixed by #245656 |
|
And for what it's worth <button popovertarget="my-popover">Toggle popover</button>
<section id="my-popover" popover>
<p>Content inside the popover</p>
</section>
<button popovertarget="my-other-popover">Toggle popover</button>
<div id="my-other-popover" popover>
<p>Content inside the popover</p>
</div>
<style>
[popover] {
/* Default styling for any element with the popover attribute */
}
div[popover] {
/* Specific styling for any div with the popover attribute */
}
:popover-open {
/* Styles applied to any element in the popover-open state */
/* Note that this pseudo class can be defined on it's own */
}
</style> |
Ooh yes agreed! These scopes/colors look great! |
Testing #244445
Theme: Dark Modern
This selector is not fully supported across all browsers yet (thus the warning), but there's still a difference in syntax highlighting.
Stable:
Insiders:
The text was updated successfully, but these errors were encountered: