blob: 85a1b931783a6fd1dfa42c6705d5f4218f991b8d (
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
|
<!DOCTYPE html>
<html>
<head>
<style>
#hcontainer {
background-color: black;
}
.hbar {
background-color: blue;
color: white;
}
.w25 { width: 25% }
.w50 { width: 50% }
.w75 { width: 75% }
.w100 { width: 100% }
#vcontainer {
background-color: black;
height: 200px;
}
.vbar {
background-color: blue;
color: white;
}
.h25 { height: 25% }
</style>
</head>
<body>
<div id="hcontainer">
<div class="hbar w25">25%</div>
<div class="hbar w50">50%</div>
<div class="hbar w75">75%</div>
<div class="hbar w100">100%</div>
</div>
<br>
<div id="vcontainer">
<div class="vbar h25">25%</div>
</div>
</body>
</html>
|