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

pseudo element specificity #2

Merged
merged 1 commit into from
Sep 9, 2020
Merged

Conversation

tanhauhau
Copy link
Contributor

pseudo element should also contribute to the element specificity right?

@LeaVerou
Copy link
Owner

LeaVerou commented Sep 9, 2020

Hey, thanks for the contribution! However, pseudo-elements do not contribute to specificity. Here's the specification on what does: https://www.w3.org/TR/selectors/#specificity-rules

@LeaVerou LeaVerou closed this Sep 9, 2020
@LeaVerou LeaVerou reopened this Sep 9, 2020
@LeaVerou
Copy link
Owner

LeaVerou commented Sep 9, 2020

Whoa, my bad. Merging, thanks again!

@LeaVerou LeaVerou merged commit 47230be into LeaVerou:master Sep 9, 2020
@tanhauhau tanhauhau deleted the patch-1 branch September 10, 2020 01:50
@tanhauhau
Copy link
Contributor Author

you are welcome!

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

Successfully merging this pull request may close these issues.

None yet

2 participants