Search
 
SCRIPT & CODE EXAMPLE
 

CSS

css counters

body {
  counter-reset: section;                    /* On initialise le compteur à 0 */
}

h3::before {
  counter-increment: section;                /* On incrémente le compteur section */
  content: "Section " counter(section) " : "; /* On affiche le compteur */
}
Comment

CSS Counters

body {
  counter-reset: section;
}

h2::before {
  counter-increment: section;
  content: "Section " counter(section) ": ";
}
Comment

PREVIOUS NEXT
Code Example
Css :: style class css 
Css :: what is a css selector 
Css :: efectos imagenes css 
Css :: how to set scss variables 
Css :: css chat 
Css :: place-content css property 
Css :: center 
Css :: sweet alert modal form 
Css :: css color 
Css :: css nested class 
Css :: fit image in grid css 
Css :: w3.css templates 
Css :: custom cursor 
Css :: test two css 
Css :: corsair css 
Css :: add a class to header 
Css :: form style popup css 
Css :: ffmpeg add text with positions relative to video & text dimensions 
Css :: css black neomorphism 
Css :: capitalize only first letter css 
Css :: total income of labrada company in india 
Css :: insert millions of records mongodb 
Css :: cons;0 ccs 
Css :: Curve Text Around a Floated Image 
Css :: flex 
Css :: css 30% height visible 
Css :: parcel-bundler bulma css 
Css :: inexorably 
Css :: css check if class as color white 
Css :: CSS Div Angel (prize) 
ADD CONTENT
Topic
Content
Source link
Name
2+5 =