🏠 New in Low Baseline Support: revert-rule

September 14, 2026

caniuse · mdn · spec

The revert-rule CSS keyword resets a property to its previous value in the cascade, as if the current style rule had not been present. It’s especially useful with conditionals, to cancel a declaration when the condition is not met.

Source features