Skip to content
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

[SCSS] Specificity values for nested rules are incorrect #309

Open
GauravB159 opened this issue Nov 9, 2022 · 0 comments
Open

[SCSS] Specificity values for nested rules are incorrect #309

GauravB159 opened this issue Nov 9, 2022 · 0 comments

Comments

@GauravB159
Copy link
Contributor

Discovered this issue while working on #249

200559512-a3643c9c-e465-4dc2-aefc-9cb242d641e8

input { #id { p { color: red; } } } - Specificity (0, 0, 1)

input #id p { color: red; } - Specificity (1, 0, 2)

Even though they are equivalent

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

No branches or pull requests

1 participant