keyword
unset — CSS reference
Acts like inherit for naturally inherited properties and initial for other properties. Unlike revert, it does not roll back the current origin. It affects only the declared property (or the components of a shorthand).
Formal Syntax & Structure
css syntaxcss
property: unset;Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>CSS reference lab</title><style>#parent {color:#006050;padding:12px} #a {color:#802020;padding:5px} #a {color:unset;padding:unset}</style><body><section id="parent"><p id="a">Reset</p></section></body></html>