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

id & specificity #10

Closed
rikschennink opened this issue Feb 10, 2017 · 1 comment
Closed

id & specificity #10

rikschennink opened this issue Feb 10, 2017 · 1 comment

Comments

@rikschennink
Copy link

Ik snap het gebruik er van ivm targetting, maar ik zou het niet gebruiken om stijlen aan te koppelen ivm specificity (https://specificity.keegan.st). Probeer ook niet te specifiek te stylen (door nesting in preprocessor kan het zijn dat het niet op valt).
section#chat ol > li > p kan ook zo #chat p.

@DaveBitter
Copy link
Owner

Good point, my thought process behind it was to not have these styles applied to p elements that might get added to the #chat section that are not chat messages. Perhaps it's better to change the selector to this and style those p elements when they are added. I'm changing it!

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

2 participants