css counters

Solutions on MaxInterview for css counters by the best coders in the world

showing results for - "css counters"
Sam
14 May 2017
1body {
2  counter-reset: section;                    /* On initialise le compteur à 0 */
3}
4
5h3::before {
6  counter-increment: section;                /* On incrémente le compteur section */
7  content: "Section " counter(section) " : "; /* On affiche le compteur */
8}
9
Lilly
13 Oct 2019
1@counter-style circled-alpha {
2  system: fixed;
3  symbols: Ⓐ Ⓑ Ⓒ Ⓓ Ⓔ Ⓕ Ⓖ Ⓗ Ⓘ Ⓙ Ⓚ Ⓛ Ⓜ Ⓝ Ⓞ Ⓟ Ⓠ Ⓡ Ⓢ Ⓣ Ⓤ Ⓥ Ⓦ Ⓧ Ⓨ Ⓩ;
4  suffix: " ";
5}