Skip to content

Commit 6eb6801

Browse files
committed
fix
1 parent 0a388cd commit 6eb6801

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

lessons/lesson-chapter-numbering/styles.css

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
h1 {
44
counter-increment: c1;
5-
counter-reset: c3;
6-
counter-reset: c2;
5+
counter-reset: c2 c3;
76
}
87

98
h2 {
@@ -31,9 +30,9 @@ h1:before {
3130
}
3231

3332
h2:before {
34-
content: counter(c1) "." counter(c2);
33+
content: counter(c1) "."counter(c2);
3534
}
3635

3736
h3:before {
38-
content: counter(c1) "." counter(c2) "." counter(c3);
39-
}
37+
content: counter(c1) "."counter(c2) "."counter(c3);
38+
}

0 commit comments

Comments
 (0)