Browsing Tag

specificity

Nettuts+ Quiz #5: CSS Specificity and Cascading

Nettuts+ Quiz #5: CSS Specificity and Cascading

A lot of developers think that CSS is a complete pushover to master. While it’s true that the ceiling is a little lower compared to others, it can still make you want to tear your hair out!

In this month’s quiz, you’ll be testing out your mastery of how CSS rules are applied.


This entry is part 5 of 11 in the The Official Nettuts+ Quizzes Session
Quick Tip: Understanding CSS Specificity
videos

Quick Tip: Understanding CSS Specificity

The “C” in CSS stands for cascading. This means that that style rules that show up later in the stylesheet will override rules which appear earlier. But this isn’t always the case. There’s something else you have to take into consideration, as well: specificity. In this quick tip, I’ll show you how to do just that.