Way to prevent nested headings resizing? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Way to prevent nested headings resizing?

I noticed when my H1 tags were nested inside a symantic container, their size was reduced from 2em to 1.5em. Is their a way to prevent this? If not, what would be the most efficient way to style this? Thanks! -E

28th Aug 2018, 4:16 PM
Ephraim Smith
Ephraim Smith - avatar
2 Answers
+ 4
h1 {     color: initial;  }
28th Aug 2018, 11:57 PM
Calviղ
Calviղ - avatar
+ 1
You can use !important when define size.
28th Aug 2018, 6:22 PM
Sachin Artani
Sachin Artani - avatar