I was trying to think of the name of a thing in the CSS vernacular the other day. It made me think we should have some kind of reference right here on CSS-Tricks, as a site with CSS in the title probably ought to have! So, here’s the basics.
Breaking that down…
The whole thing is a ruleset.
The curly braces and everything inside is a declaration block.
The bit before the opening curly brace is a selector
CSS Ruleset Terminology is a post from CSS-Tricks