:scope

The :scope pseudo-class represents elements that are a guide for selectors to match against. Currently, when used in a style sheet, :scope is the same as :root because there is currently no way to explicitly set the scope element.

Syntax



:scope {
  property: value;
}