Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The revert-layer
CSS keyword rolls back the value of a property in a cascade layer
to the value of the property in a CSS rule matching the element in a previous cascade layer. The value of the property with this keyword is recalculated as if no rules were specified on the target element in the current cascade layer.
If there is no other cascade layer to revert to for the matching CSS rule, the property value rolls back to the computed value
derived from the current layer. Furthermore, if there is no matching CSS rule in the current layer, the property value for the element rolls back to the style defined in a previous style origin.
This keyword can be applied to any CSS property, including the CSS shorthand property all
.