I know it in the spec stylesheets but why was this made like this?
EDIT:
If anyone is wondering what I am talking about read more from the spec stylesheets
After May 2025 this styling is removed.
To fix this follow Moziilla’s web docs. It shows how to consistently size headings for old browsers.
Do you mean…
body > article > h1
is smaller thanbody > h2
body > article > h1
is smaller thanbody > article > h2
?And where? Which spec stylesheets are you talking about?
For (1), https://css-tricks.com/document-outline-dilemma/ might answer your question.
It is number 2,
Doing now the same as some developers I found:
Im asking because I found this question on stackoverflow for the section tag