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 are the benefits of using css?
Explain the difference between css2 & css3?
What is an iframe?
What is the difference between padding and margin?
What is css rule?
What are the text properties?
How are css files saved?
Is html5 a programming language?
What is the difference between css2 and css3?
How to style forms?
How do you vertically align text?
What is float in css for?
Is html considered coding?
What is margin in css?
Which value of cursor property changes the cursor to a question mark?