Specificity is the algorithm used by browsers to determine the CSS declaration that is the most relevant to an element, which in turn, determines the property value to apply to the element. The specificity algorithm calculates the weight of a CSS selector to determine which rule from competing CSS declarations gets applied to an element....for example, in: css @scope (figure, #primary) { & img { ... }...& img is equivalent to :is(figure, #primary) img . Since :is()...