fixed ol-numbering (nested style)
This commit is contained in:
parent
5586771b0e
commit
ec255aec1c
1 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,14 @@
|
|||
code {
|
||||
white-space: pre;
|
||||
}
|
||||
ol {
|
||||
counter-reset: item;
|
||||
padding-left: 1em;
|
||||
}
|
||||
ol li {
|
||||
display: block;
|
||||
}
|
||||
ol li:before {
|
||||
content: counters(item, ".") ". ";
|
||||
counter-increment: item;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue