How could you use CSS to achieve the following automatic numbering?
Answer Posted / hrpynux@gmail.com
Initialize the counter on the parent div using counter-reset.
Increment the counter value by 1 on the child div p using counter-increment.
Add the counter variables before the div p content using the :before pseudo selector.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a universal selector in css?
What is the difference between internal and external style sheets?
What is the cascading order of the three types of css?
Explain the css box model and its different elements.
What are the limitations of css?
How do you change inspect text?
What is inline css?
How can I make a template?
Why * is used in css?
What is webkit browser?
What is the difference between the html and css?
What is inline style in css?
How many ways to select html tag instances?
How do you organize css?
What is the difference between sass and scss?