Stylament 0.23.2

Document-level Elements

These are elements unique to each document.

html

scss
html {
  
}

Document root. Also selectable as :root (which has a higher specificity).

Related

Spec [external]

MDN [external]

body

scss
body {
  @include coloring.set-colors("body");
  @include coloring.use-colors;
}

Content root.

Related

Spec [external]

MDN [external]

main

scss
main {
  padding-block: svar(spacing-block-lg);
}

The document’s main content. There can be only one (visible).

Related

Spec [external]

MDN [external]