Export (0) Print
Expand All

At-rules

This section describes Cascading Style Sheets (CSS) at-rules. 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 declaration block, whichever comes first.

In this section

RuleDescription

@charset

Sets the character set for an external style sheet.

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

@keyframes

Specifies a list of property animation keyframes for an object in the HTML document.

@-ms-viewport

Specifies properties that describe the viewport.

@namespace

Declares an XML namespace (and, optionally, its prefix) and associates it with a string that represents a namespace name.

@page

Sets the dimensions, orientation, and margins of a page box in a styleSheet.

 

 

 

Show:
© 2014 Microsoft