Why would you include a "normal" or "none" value into your css, since it changes nothing? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Why would you include a "normal" or "none" value into your css, since it changes nothing?

31st Jan 2016, 1:47 PM
Romy van der Kolk
Romy van der Kolk - avatar
2 Answers
+ 4
Based on what I've learned in the html course.. If you have a certain style in CSS that covers for instance all <p> , but you want one <p> to be an exception, that's you apply the 'none' to override the default you've set.
4th Feb 2016, 6:06 AM
Rick Evenhuis
Rick Evenhuis - avatar
0
to prevent inherited element and go back to normal style
29th Jul 2016, 1:09 AM
purba
purba - avatar