CSS3 At-rules
This section describes Cascading Style Sheets (CSS) at-rules.
Description
At-rules start with an at-keyword (an @
character) followed immediately by an identifier, and consist of everything up to and including the next semicolon (;
) or the next declaration block, whichever comes first.
Rule | Description |
---|---|
@charset |
Specifies the character encoding of an external style sheet. |
@font-face |
Enables the use of downloadable web fonts. |
@import |
Imports an external style sheet. |
@keyframes |
Specifies the values for the animating properties at various points during the animation. |
@media |
Sets the media types for a set of rules in a style sheet. |
@page |
Defines the dimensions, orientation, and margins of a page box for printing environments. |