How could you use CSS to achieve the following automatic numbering?
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 |
Why do we use padding?
What are the advantages / disadvantages of various style methods?
What is overflow css?
Define a two column layout using flexbox ?
Which is better html or css?
What is graceful degradation?
What is the difference between inline, inline-block, and block?
Why css is used in html?
How do I select a class in css?
What is CSS Box Model and what are its elements?
What is the new layout mode in css3?
What does Accessibility (a11y) mean?