Skip to content

Commit 4100c97

Browse files
WIP: counters
1 parent ecf0d73 commit 4100c97

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pages/terms.module.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@
77
.card section {
88
margin: 0 0 1.5rem;
99
counter-increment: section;
10-
counter-set: section;
10+
}
11+
12+
.card section > section {
13+
counter-reset: section;
1114
}
1215

1316
.card :matches(h2, h3, h4, h5, h6)::before {

0 commit comments

Comments
 (0)