Targeting the whole document


Special rules that apply to the entire document.

  • all
  • @media


Change all

Change all of this element's properties to their defaults.
css, style, target, all


Conditional targeting rules

Use this special syntax to instruct the browser to use the enclosed rules only on certain devices or under certain conditions.
css, style, target, @media

style > target Targeting the whole document

🔗 🔎