Skip to content

Instantly share code, notes, and snippets.

@Myllaume
Created February 24, 2021 07:55
Show Gist options
  • Save Myllaume/eebb8f52257fe11a4864e8f9190ddb21 to your computer and use it in GitHub Desktop.
Save Myllaume/eebb8f52257fe11a4864e8f9190ddb21 to your computer and use it in GitHub Desktop.
body {
counter-reset: hFirst;
}
h1 {
counter-increment: hFirst;
counter-reset: hSecond;
}
h2 {
counter-increment: hSecond;
counter-reset: hThird;
}
h3 {
counter-increment: hThird;
counter-reset: hFourth;
}
h4 {
counter-increment: hFourth;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment