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

css counter

<style>
    body {
        counter-reset: ctr;
    }

    div.fruit::before {
        counter-increment: ctr;
        content: counter(ctr) ".) ";
    }
</style>

<div class="fruit">Apple</div>
<div class="fruit">Banana</div>
<div class="fruit">Orange</div>
Comment

PREVIOUS NEXT
Code Example
Css :: css interne 
Css :: how to change font color in css 
Css :: css push div down 
Css :: bootstrap badges 
Css :: background color 
Css :: how to change paragraph text color to Red css 
Css :: img transparent 
Css :: focus on input change label color 
Css :: rem in css 
Css :: php get set 
Css :: web3 button style 
Css :: how do I add a vertical margin in css 
Css :: css buchstaben auseinander weite 
Css :: css animation not smooth site:stackoverflow.com 
Css :: display inline 
Css :: ng-multiselect-dropdown custom css 
Css :: content url svg css 
Css :: postion on window top css 
Css :: scale to smaller of vh and vw 
Css :: table vertical align middle 
Css :: Responsive Web Design - Frameworks 
Css :: background path css 
Css :: min function css 
Css :: text align in materialize css 
Css :: Functions in Golang 
Css :: add custom taxonomy into permalinks post_type_link 
Css :: circle progress bar css 
Css :: custom cursor 
Css :: display inline not alligned 
Css :: top 10 customers odoo 
ADD CONTENT
Topic
Content
Source link
Name
7+7 =