aboutsummaryrefslogtreecommitdiffstats
path: root/tests/html/test_border.html
blob: 6e8d60f5d1aa84fc7d145ba0e10d5b263ec131b2 (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
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
<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;
}
#double{
    border-style: double;
    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;
}
#groove{
    border-style: groove;
    border-width: 10px;
    border-color: green red yellow black;
}
#ridge{
    border-style: ridge;
    border-width: 10px;
    border-color: green red yellow black;
}
#inset{
    border-style: inset;
    border-width: 10px;
    border-color: green red yellow black;
}
#outset{
    border-style: outset;
    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="double"> double test</div>
<div id="dashed"> dashed test</div>
<div id="dotted"> dotted test</div>
<div id="groove"> groove test</div>
<div id="ridge"> ridge test</div>
<div id="inset"> inset test</div>
<div id="outset"> outset test</div>
<!-- It's a Diamond -->
<div id="diamond1"></div>
<div id="diamond2"></div>
</body>
</HTML>