Mark Andrews
  • Home
CSS

CSS unset property

Mark Andrews

24 Jul 2023 • 1 min read

How to revert CSS properties to the inherited value

unset - CSS: Cascading Style Sheets | MDN
The unset CSS keyword resets a property to its inherited value if the property naturally inherits from its parent, and to its initial value if not. In other words, it behaves like the inherit keyword in the first case, when the property is an inherited property, and like the initial keyword in the s…
MDN Web Docs
Mark Andrews © 2026
  • Privacy
Powered by Ghost