name-case-sensitivity-ref.html (2401B)
1 <!DOCTYPE html> 2 <meta charset="UTF-8"> 3 <title>CSS Reference: symbols function, invalid</title> 4 <link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/"> 5 <style type="text/css"> 6 ol, div, p { 7 padding: 0; margin: 0; 8 line-height: 150%; 9 } 10 ol { 11 list-style-position: inside; 12 } 13 li, div, p { 14 float: left; 15 } 16 @counter-style decimal-leading-zero { 17 system: extends decimal; 18 pad: 3 '0'; 19 } 20 @counter-style custom-style { 21 system: cyclic; 22 symbols: \2023; 23 } 24 </style> 25 26 <!-- list-style --> 27 <ol><li style="list-style: hiragana inside;"></li></ol> 28 <ol><li style="list-style: decimal-leading-zero inside;"></li></ol> 29 <ol><li style="list-style: custom-style inside;"></li></ol> 30 <ol><li style="list-style: decimal inside;"></li></ol> 31 32 <!-- list-style-type --> 33 <ol><li style="list-style-type: hiragana;"></li></ol> 34 <ol><li style="list-style-type: decimal-leading-zero;"></li></ol> 35 <ol><li style="list-style-type: custom-style;"></li></ol> 36 <ol><li style="list-style-type: decimal;"></li></ol> 37 38 <!-- counter() --> 39 <style type="text/css"> 40 #counter { counter-reset: a 1; } 41 #counter-a::before { content: counter(a, hiragana); } 42 #counter-b::before { content: counter(a, decimal-leading-zero); } 43 #counter-c::before { content: counter(a, custom-style); } 44 #counter-d::before { content: counter(a, decimal); } 45 </style> 46 <div id="counter"> 47 <p id="counter-a"></p> 48 <p id="counter-b"></p> 49 <p id="counter-c"></p> 50 <p id="counter-d"></p> 51 </div> 52 53 <!-- counters() --> 54 <style type="text/css"> 55 #counters { counter-reset: a 1; } 56 #counters-a::before { content: counters(a, '', hiragana); } 57 #counters-b::before { content: counters(a, '', decimal-leading-zero); } 58 #counters-c::before { content: counters(a, '', custom-style); } 59 #counters-d::before { content: counters(a, '', decimal); } 60 </style> 61 <div id="counters"> 62 <p id="counters-a"></p> 63 <p id="counters-b"></p> 64 <p id="counters-c"></p> 65 <p id="counters-d"></p> 66 </div> 67 68 <style type="text/css"> 69 @counter-style a { system: extends hiragana; } 70 @counter-style b { system: extends decimal-leading-zero; } 71 @counter-style c { system: extends custom-style; } 72 @counter-style d { system: extends decimal; } 73 </style> 74 <ol><li style="list-style-type: a;"></li></ol> 75 <ol><li style="list-style-type: b;"></li></ol> 76 <ol><li style="list-style-type: c;"></li></ol> 77 <ol><li style="list-style-type: d;"></li></ol>