https://developer.mozilla.org/en-US/docs/CSS/At-rule

에서 참조

An at-rule is a CSS statement beginning with an at sign, ’@’ (U+0040 COMMERCIAL AT), followed by an identifier, and ending at the first semi-colon, ’;’ (U+003B SEMICOLON), outside a block, or at the end of the first CSS block.

There are several at-rules, designated by their identifiers, each with a different syntax:

  • @charset, defining the character set used by the style sheet.
  • @import, telling the CSS engine to include an external style sheet.
  • @namespace, telling the CSS engine that all its content must be considered prefixed with an XML namespace.
  • Nested at-rules, a subset of nested statements, that can be used not only as a statement of a style sheet, but also inside conditional group rules:
    • @media, a conditional group rule applying its content if the device fulfills the condition defined using a media query.
    • @font-face, describing the aspect of an external font to be downloaded. Experimental
    • @document, a conditional group rule applying its content if the document the style sheet is applied to fulfills the given condition.Experimental
    • @supports, a conditional group rule applying its content if the browser fulfills the given condition. Experimental

Conditional Group Rules

Like for properties’ values, each at-rule has a different syntax. Nevertheless several of them can be grouped into a special category, conditional group rules. These statements share a common syntax. Each of them includes nested statements, that is either rulesets or nested at-rules. More they all convey a common semantic meaning: they all link a condition (of different kind) to some statements to be applied.

Conditional group rules are defined in CSS Conditionals Level 3 and are:

Since each conditional group may also contain nested statements, there may be an unspecified amount of nesting.

https://developer.mozilla.org/en-US/docs/CSS/At-rule

에서 참조

An at-rule is a CSS statement beginning with an at sign, ’@’ (U+0040 COMMERCIAL AT), followed by an identifier, and ending at the first semi-colon, ’;’ (U+003B SEMICOLON), outside a block, or at the end of the first CSS block.

There are several at-rules, designated by their identifiers, each with a different syntax:

  • @charset, defining the character set used by the style sheet.
  • @import, telling the CSS engine to include an external style sheet.
  • @namespace, telling the CSS engine that all its content must be considered prefixed with an XML namespace.
  • Nested at-rules, a subset of nested statements, that can be used not only as a statement of a style sheet, but also inside conditional group rules:
    • @media, a conditional group rule applying its content if the device fulfills the condition defined using a media query.
    • @font-face, describing the aspect of an external font to be downloaded. Experimental
    • @document, a conditional group rule applying its content if the document the style sheet is applied to fulfills the given condition.Experimental
    • @supports, a conditional group rule applying its content if the browser fulfills the given condition. Experimental

Conditional Group Rules

Like for properties’ values, each at-rule has a different syntax. Nevertheless several of them can be grouped into a special category, conditional group rules. These statements share a common syntax. Each of them includes nested statements, that is either rulesets or nested at-rules. More they all convey a common semantic meaning: they all link a condition (of different kind) to some statements to be applied.

Conditional group rules are defined in CSS Conditionals Level 3 and are:

Since each conditional group may also contain nested statements, there may be an unspecified amount of nesting.

https://developer.mozilla.org/en-US/docs/CSS/At-rule

에서 참조

An at-rule is a CSS statement beginning with an at sign, ’@’ (U+0040 COMMERCIAL AT), followed by an identifier, and ending at the first semi-colon, ’;’ (U+003B SEMICOLON), outside a block, or at the end of the first CSS block.

There are several at-rules, designated by their identifiers, each with a different syntax:

  • @charset, defining the character set used by the style sheet.
  • @import, telling the CSS engine to include an external style sheet.
  • @namespace, telling the CSS engine that all its content must be considered prefixed with an XML namespace.
  • Nested at-rules, a subset of nested statements, that can be used not only as a statement of a style sheet, but also inside conditional group rules:
    • @media, a conditional group rule applying its content if the device fulfills the condition defined using a media query.
    • @font-face, describing the aspect of an external font to be downloaded. Experimental
    • @document, a conditional group rule applying its content if the document the style sheet is applied to fulfills the given condition.Experimental
    • @supports, a conditional group rule applying its content if the browser fulfills the given condition. Experimental

Conditional Group Rules

Like for properties’ values, each at-rule has a different syntax. Nevertheless several of them can be grouped into a special category, conditional group rules. These statements share a common syntax. Each of them includes nested statements, that is either rulesets or nested at-rules. More they all convey a common semantic meaning: they all link a condition (of different kind) to some statements to be applied.

Conditional group rules are defined in CSS Conditionals Level 3 and are:

Since each conditional group may also contain nested statements, there may be an unspecified amount of nesting.

https://developer.mozilla.org/en-US/docs/CSS/At-rule

에서 참조

An at-rule is a CSS statement beginning with an at sign, ‘@‘ (U+0040 COMMERCIAL AT), followed by an identifier, and ending at the first semi-colon, ‘;‘ (U+003B SEMICOLON), outside a block, or at the end of the first CSS block.

There are several at-rules, designated by their identifiers, each with a different syntax:

  • @charset, defining the character set used by the style sheet.
  • @import, telling the CSS engine to include an external style sheet.
  • @namespace, telling the CSS engine that all its content must be considered prefixed with an XML namespace.
  • Nested at-rules, a subset of nested statements, that can be used not only as a statement of a style sheet, but also inside conditional group rules:
    • @media, a conditional group rule applying its content if the device fulfills the condition defined using a media query.
    • @font-face, describing the aspect of an external font to be downloaded. Experimental
    • @document, a conditional group rule applying its content if the document the style sheet is applied to fulfills the given condition.Experimental
    • @supports, a conditional group rule applying its content if the browser fulfills the given condition. Experimental

Conditional Group Rules

Like for properties’ values, each at-rule has a different syntax. Nevertheless several of them can be grouped into a special category, conditional group rules. These statements share a common syntax. Each of them includes nested statements, that is either rulesets or nested at-rules. More they all convey a common semantic meaning: they all link a condition (of different kind) to some statements to be applied.

Conditional group rules are defined in CSS Conditionals Level 3 and are:

Since each conditional group may also contain nested statements, there may be an unspecified amount of nesting.