-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample-counter-styles.css
51 lines (43 loc) · 1.06 KB
/
example-counter-styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/** Example Counter Styles from the Specification
* =============================================
*
* @uses https://drafts.csswg.org/css-counter-styles/
* @extends https://github.com/w3c/predefined-counter-styles
*/
@counter-style triangle {
system: cyclic;
symbols: '‣';
suffix: " ";
}
@counter-style box-corner {
system: fixed;
symbols: '◰' '◳' '◲' '◱';
suffix: ': ';
}
@counter-style footnote {
system: symbolic;
symbols: '*' '⁑' '†' '‡'; /* anonymous variant also includes '§' and is `fixed` */
suffix: " ";
}
@counter-style upper-alpha-legal {
system: symbolic;
symbols: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z;
}
@counter-style go {
system: alphabetic;
symbols: '⚪️' '⚫️'; /* original uses SVG images */
suffix: " ";
}
@counter-style trinary {
system: numeric;
symbols: '0' '1' '2';
}
@counter-style dice {
system: additive;
additive-symbols: 6 '⚅', 5 '⚄', 4 '⚃', 3 '⚂', 2 '⚁', 1 '⚀';
suffix: " ";
}
@counter-style decimal-paren {
system: extends decimal;
suffix: ") ";
}