Basics #

At-rules instruct CSS how to behave.

At-rules begin with an at-sign @.

Statement at-rules end with a semicolon.

Block at-rules end in a {} block.

Some at-rules use at-rule functions and at-rule descriptors.

Some at-rules (@container, @layer, @media, @scope, @starting-style, @supports) can be nested.