blob: ff5227a9d970012461296cdc16bd6b72f1c5a3c8 (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
<!DOCTYPE html>
<html>
<link rel='stylesheet' type='text/css' href='style.css'>
<style>
.meter-element { margin: 10px; }
body > div:nth-child(1) > .meter-bar { position: relative; top: 4px; left: 4px;
height: calc(100% - 8px); }
body > div:nth-child(2) > .meter-bar { width: calc(100% + 8px); }
body > div:nth-child(3) > .meter-bar { position: relative; top: 4px; left: 4px;
height: calc(100% - 8px);
width: calc(100% + 8px); }
body > div:nth-child(4) > .meter-bar { position: relative; top: 10px; height: calc(100% - 10px); }
body > div:nth-child(5) > .meter-bar { }
body > div:nth-child(6) > .meter-bar { height: calc(100% - 10px); }
body > div:nth-child(7) > .meter-bar { position: relative; left: 10px; }
body > div:nth-child(8) > .meter-bar { }
body > div:nth-child(9) > .meter-bar { width: calc(100% + 10px); }
body > div:nth-child(10) > .meter-bar { }
body > div:nth-child(11) > .meter-bar { width: calc(100% + 10px); }
/* 12 - 15 should have 100% width, no need to specify. */
body > div:nth-child(16) > .meter-bar { position: relative; top: 64px; left: 64px;
height: calc(100% + 32px + 16px);
width: calc(100% + 128px + 16px - 1em); }
</style>
<body>
<div class="meter-element vertical">
<div class="meter-bar">
</div>
</div>
<div class="meter-element vertical">
<div class="meter-bar">
</div>
</div>
<div class="meter-element vertical">
<div class="meter-bar">
</div>
</div>
<div class="meter-element vertical">
<div class="meter-bar">
</div>
</div>
<div class="meter-element vertical">
<div class="meter-bar">
</div>
</div>
<div class="meter-element vertical">
<div class="meter-bar">
</div>
</div>
<div class="meter-element vertical">
<div class="meter-bar">
</div>
</div>
<div class="meter-element vertical">
<div class="meter-bar">
</div>
</div>
<div class="meter-element vertical">
<div class="meter-bar">
</div>
</div>
<div class="meter-element vertical">
<div class="meter-bar">
</div>
</div>
<div class="meter-element vertical">
<div class="meter-bar">
</div>
</div>
<div class="meter-element vertical">
<div class="meter-bar">
</div>
</div>
<div class="meter-element vertical">
<div class="meter-bar">
</div>
</div>
<div class="meter-element vertical">
<div class="meter-bar">
</div>
</div>
<div class="meter-element vertical">
<div class="meter-bar">
</div>
</div>
<div class="meter-element vertical">
<div class="meter-bar">
</div>
</div>
</body>
</html>
|