aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/html/test_border.html
blob: 3f55048679fe0b5bc490bb19baeeb47348e439a6 (plain) (blame)
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
<html>
<head>
<style>
#none{
    border-style: none;
    border-width: 10px;
    border-color: green red yellow black;
}
#hidden{
    border-style: hidden;
    border-width: 10px;
    border-color: green red yellow black;
}
#solid{
    border-style: solid;
    border-width: 10px;
    border-color: yellow green red black;
}
#dashed{
    border-style: dashed;
    border-width: 10px;
    border-color: green yellow black red;
}
#dotted{
    border-style: dotted;
    border-width: 10px;
    border-color: green red yellow black;
}
#diamond1{
    width: 0;
    height: 0;
    border: 50px solid transparent;
    border-bottom-color: red;
    position: relative;
}
#diamond2{
    width: 0;
    height: 0;
    border: 50px solid transparent;
    border-top-color: red;
    position: relative;
}
</style>
</head>
<body>
<div id="none"> none test.</div>
<div id="hidden"> hidden test.</div>
<div id="solid"> solid test</div>
<div id="dashed"> dashed test</div>
<!-- It doesn't show anything yet. -->
<div id="dotted"> dotted test. (dotted isn't supported yet)</div>
<!-- It's a Diamond -->
<div id="diamond1"></div>
<div id="diamond2"></div>
</body>
</HTML>