Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<head>
<title>CSS 2.1 Test Suite: Counter properties on 'content: none' pseudo-elements</title>
<style type="text/css">
div { counter-reset: c }
#one:before { counter-increment: c }
#two:before { content: counter(c) }
</style>
</head>
<body>
<div><span id="one"></span><span id="two"></span></div>
</body>
</html>