initial
Widely available since 2018-05-12
The initial
keyword resets any CSS property to its initial value as defined by the specification. For example, the initial
value of the display
property is inline
, regardless of the element being styled. Not to be confused with revert
, which resets to the user or browser default style.
Learning resources on MDN
Browser support (view on caniuse.com)
- Chrome 1 Released on 2008-12-11
- Chrome Android 18 Released on 2012-06-27
- Edge 13 Released on 2015-11-12
- Firefox 19 Released on 2013-02-19
- Firefox for Android 19 Released on 2013-02-19
- Safari 1.2 Released on 2004-02-02
- Safari on iOS 1 Released on 2007-06-29