CSS Syntax

CSS Syntax

Next up, we dive into CSS syntax in a lot more detail, looking at how properties and their values form into declarations, multiple declarations form into declaration blocks, and declaration blocks and selectors form into complete CSS rules

 

A touch of vocabulary

At its most basic level, CSS consists of two building blocks: