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: Multiple increments and resets</title>
<style type="text/css">
body { counter-reset: one 7 two -2; }
#one:before { counter-increment: one -6; content: counter(one) }
#two:before { counter-increment: dummy two 7 two two -4 silly 7; content: counter(two) }
</style>
</head>
<body>
<div><span id="one"></span><span id="two"></span></div>
</body>
</html>