@ rules
At-rules, or @ rules, start with an at-keyword (an at-sign character [@
] followed immediately by an identifier), and they consist of everything up to and including the next semicolon (;
) or declaration block, whichever comes first.
At-rules
@font-face Sets a font to embed in the HTML document.
@import Imports an external style sheet.
@media Sets the media types for a set of rules in a style sheet.
@page Sets the dimensions, orientation, and margins of a page box in a style sheet.
See also
Concepts
Cascading style sheet reference
Properties by category
Properties by name
Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.