Skip to content

Commit bd473df

Browse files
authored
[css-lists-3] Correct the counter-set example (#10669)
1 parent 31491a8 commit bd473df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

css-lists-3/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,7 @@ Manipulating Counter Values: the 'counter-increment' and 'counter-set' propertie
901901
h1::before {
902902
content: "Chapter " counter(chapter) ". ";
903903
counter-increment: chapter; /* Add 1 to chapter */
904-
counter-reset: section; /* Set section to 0 */
904+
counter-set: section; /* Set section to 0 */
905905
}
906906
h2::before {
907907
content: counter(chapter) "." counter(section) " ";

0 commit comments

Comments
 (0)