marker-content-006.html (599B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Test: ::marker pseudo elements styled with 'content' property</title> 6 <link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com"> 7 <link rel="match" href="marker-content-006-ref.html"> 8 <link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#marker-pseudo"> 9 <style> 10 li { 11 list-style-position: inside; 12 } 13 li::marker { 14 content: "a" "b"; 15 } 16 li::before { 17 content: "c"; 18 } 19 li::after { 20 content: "d"; 21 } 22 span { font-size: 32pt; } 23 </style> 24 </head> 25 <body> 26 <ol><li></li><li>B</li><li><span>C</span></li></ol> 27 </body> 28 </html>