Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<html>
<head>
<style>
div:before { content: counter(c); }
.b:before { content: "x"; }
</style>
</head>
<body onload="document.getElementById('v').setAttribute('class', 'b');">
<div id="v"></div>
</body>
</html>