Style header header using css reset

After using css reset, all of my reset header tags (of course). What is the best way to style them as usual.

Of course, is there a better way?

h1 { font-size: 2em; } h2 { font-size: 1.5em; } h3 { font-size: 1.3em; } h4 { font-size: 1em; } h5 { font-size: 0.8em; } h6 { font-size: 0.7em; } 
+6
source share
1 answer

The way you set up the new header style will work fine. You might consider adding

 h1,h2,h3,h4,h5,h6 { font-weight: normal; font-style: normal; } 

to make sure the default type is set to not be italic / oblique or bold (if you don't want the default to be strong)

+3
source

Source: https://habr.com/ru/post/950458/


All Articles