blob: 1e09173353f9e6de48db31d595c68dbe58bba52b (
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
|
<!doctype html>
<title>CSS test reference</title>
<meta charset="utf-8">
<style>
.test {
width: 1em;
height: 1em;
background-color: green;
display: inline-block;
}
#t1 {
font-size: 1vh;
}
#t2 {
font-size: 1vw;
}
#t3 {
font-size: 1vh;
}
#t4 {
font-size: 1vw;
}
</style>
<div class="test" id="t1"></div>
<div class="test" id="t2"></div>
<div class="test" id="t3"></div>
<div class="test" id="t4"></div>
|