source order

The order in which CSS rules appear; when everything else ties, the rule that comes later wins.

In more detail

Source order is the final tie-breaker of the cascade, which makes the result deterministic. It also decides the order of cascade layers declared with @layer.

Related terms

Taught in

References