Way to prevent nested headings resizing? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
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 Respuestas
+ 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