Today I Learned - Rocky Kev

Tagged “specificity”

  1. TIL Layers in CSS

    CSS goes through a lot of passes to determine style orders. Make the css more specific, and it takes priority. Add a '#', and it takes even more priority. Add a freakin' '!important;', and hurray, you're at the top.

See all tags.