Montag, 21. Juli 2014

Hacks for dealing with specificity




CSS-Tricks





Hacks for dealing with specificity



The overall point here by Harry Roberts is to keep the specificity on your selectors as low as you can. The end result of that effort is:



  1. More reusable styles.

  2. When you need to override that style, you have opportunities to nudge that specificity a bit higher while still being reusable and not fighting yourself.


Direct Link to ArticlePermalink



Hacks for dealing with specificity is a post from CSS-Tricks








Keine Kommentare:

Kommentar veröffentlichen