Atrules
At-rules, sometimes written as atrules, are directives in CSS that begin with the at-sign (@) and extend the language beyond standard selectors and declarations. They provide instructions to the CSS processor about how to interpret, load, or apply styles under certain conditions.
Structure and behavior: An at-rule consists of a name, an optional prelude (parameters or conditions), and either
Common examples and purposes: Widely used at-rules include @charset, which declares the document encoding; @import, which
Placement and compatibility notes: Some at-rules have placement constraints. For instance, @charset must appear at the
Overall, at-rules are a core mechanism for controlling CSS behavior, scope, and resource loading, complementing ordinary