Web features explorer

revert

Widely available since 2023-01-27
Tags: css Groups: CSS > Explicit defaults

The revert CSS keyword resets any property to its previous default, provided by either the user or browser stylesheets. For example, setting display: revert on a <div> will likely result in display: block, the browser default style. This is often confused with initial.

Learning resources on MDN

Browser support (view on caniuse.com)