Interview Questions

What is CSS rule 'at-rule'?

CSS Interview Questions and Questions


(Continued from previous question...)

48. What is CSS rule 'at-rule'?

There are two types of CSS rules: ruleset and at-rule. At-rule is a rule that applies to the whole style sheet and not to a specific selector only (like in ruleset). They all begin with the @ symbol followed by a keyword made up of letters a-z, A-Z, digits 0-9, dashes and escaped characters, e.g. @import or @font-face.

(Continued on next question...)

Other Interview Questions