How to restore the default property value using CSS? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to restore the default property value using CSS?

17th Sep 2016, 5:58 AM
Chirag Sabhadiya
Chirag Sabhadiya - avatar
1 Answer
0
In short, there’s no easy way to restore to default values to whatever a browser uses . The closest option is to use the ‘initial’ property value, which will restore it to the default CSS values, rather than the browser’s default styles.
17th Sep 2016, 5:58 AM
Chirag Sabhadiya
Chirag Sabhadiya - avatar