@ 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.


  • @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

Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.

Community Additions