The declaration block is composed of one or more declarations Each declaration is a pairing of property and a value
h1 {color: maroon; background: yellow;}
h1 = selector {color: maroon; background: yellow;} = declaration block
color = property maroon = value
background = property yellow = value
/* This is a CSS comment */
/* This is a CSS comment, and it can be several lines long without any problem whatsoever. */
CSS has two basic display roles:
- block formatting context (блочные элементы)
- inline formatting context (строчные элементы)