We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It is its level number in section. For example,
<main> <h1 id="first">this is top</h1> <section> <h1 id="second">this is section</h1> <section> <h1 id="third">this is section</h1> </section> </section> <main>
first, second, third-id element has level 1, 2, 3.
first, second, third
It can be useful for sizing heading fonts like this:
:heading { font-size: calc(2em * (sectionlevel - 1) * 75%); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It is its level number in section. For example,
first, second, third
-id element has level 1, 2, 3.It can be useful for sizing heading fonts like this:
The text was updated successfully, but these errors were encountered: