CSS styles chain

In-page layout

This page draws the chain in place, from a fixed example. The inspector window reads the sample file instead. Pick an element and edit the properties that actually apply to it. Each property is a chain: important declarations that lost, the one in effect, then ordinary and inherited declarations that no longer apply. A selector that missed this element never appears.

Demo controls

Theme is the page under inspection, not a switch in the inspector. Dark adds the dark-theme rule to this example. Light leaves it out, because it does not match.

CSS styles chain