Is it possible to get the default counter value for li in CSS ?
For instance:
If I have 6 <li> divided by 2 <ol> , but I want <li> be specified from 1 to 6, and not from 1 to 3 twice. I used value="4" in the first <li> second <ol> , so it worked, but now, since I use
ol { counter-reset: i 0; } ol li:before { content: counter(i); counter-increment: i; font-weight: bold; }
content: counter(i); ignore value="4" in the first <li> second <ol> .
Can I do something about this?
View on JsFiddle
source share