blob: 45dd534b7af2fc470f67ba33d74c359601fd83fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
body { font-family: monospace; width: 10ch; outline: 1px solid black; }
div { column-width: 0.4px; column-gap: 3ch; }
b { font-weight: inherit; display: inline-block; }
#r { border: 1px solid red; }
#r:before { content: ""; }
</style>
<script type="text/javascript">
function boom()
{
document.getElementById("r").style.counterReset = "c";
}
</script>
</head>
<body onload="boom();"><div>a b c d <span> <b>m</b><span id="r"><b>x</b><span></span></span></span> </div></body>
</html>
|