blob: 1ea1ae3f08aef61921f3b1828b8524ec026c02a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<!DOCTYPE html>
<style>
.contain {
float: right;
clear: both;
}
.reset { counter-reset: c;}
.increment:before { content: counters(c, ""); }
.increment { counter-increment: c; }
</style>
<body>
<div>1</div>
<div class="contain">
<div>1</div>
<div>1</div>
</div>
<div>2</div>
<div class="contain">
<div>1</div>
<div>2</div>
</div>
<div>3</div>
|