-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
💡 RFC: Improving handling of :root
in CSS (or warn users)
#503
Comments
FredKSchott
changed the title
[Feature Request] Improving handling of
💡 RFC: Improving handling of Jun 30, 2021
:root
in CSS (or warn users):root
in CSS (or warn users)
Solved with the addition of |
ematipico
pushed a commit
that referenced
this issue
Feb 5, 2025
ematipico
pushed a commit
that referenced
this issue
Feb 5, 2025
ematipico
pushed a commit
that referenced
this issue
Feb 6, 2025
ematipico
pushed a commit
that referenced
this issue
Feb 6, 2025
ematipico
pushed a commit
that referenced
this issue
Feb 7, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What is Missing from Astro Today?
I've noticed that quite a few people (myself included) have been tripped up when trying to write styles selecting
:root
. Our current suggestion is to use:global(:root)
, but is there a better solution here?See the definition of
:root
in the CSS Selectors 4 Spec. Are there other pseudo-selectors that we need to consider?https://discord.com/channels/830184174198718474/845451724738265138/856553773329154070
Proposed Solution
:root
never be scoped?:global(:root)
Help Make it Happen!
The text was updated successfully, but these errors were encountered: