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 css and what are its advantages?
What are the 4 areas of the box model?
Can I use scss in css?
What is style book or style sheet?
What is the use of cascading style sheets?
What is the use of media types in css?
How does css hover work?
What is the float property used for in css?
What are the ways to assign a certain colour to an element in css?
How is the concept of inheritance applied in css?
What is the difference between id and class?
What is attribute selector?
What are the different web fonts formats in css?
What are the difference between css and css3?
What is the fee of css?