atrules
< css
atrules
This article is In Progress.
Summary
At-rules are special instructions for the CSS parser. They are invoked by an at-keyword preceded by an "@" sign.
| API Name | Summary |
|---|---|
| @charset | Specifies the character encoding of the style sheet. |
| @font-face | The @font-face CSS at-rule allows authors to specify online fonts to display text on their web pages. By allowing authors to provide their own fonts, @font-face eliminates the need to depend on the limited number of fonts users have installed on their computers.
|
| @keyframes | Sets the keyframes for the CSS animation property. |
| @namespace | Declares the default namespace and binds a namespace to a namespace prefix. |
| @viewport | Specifies the size, zoom factor, and orientation of the viewport. |