-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathborder.html
65 lines (64 loc) · 1.5 KB
/
border.html
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
<!DOCTYPE html>
<html>
<head>
<style>
body{
background-color: #eedbef;
}
h1{
font-weight: bold;
font-family: "Times New Roman" serif;
font-size: 50px;
color: #0084ff;
}
p.dotted {border-style: dotted; border-color:red;}
p.dashed {border-style: dashed;border-color:red;}
p.solid {border-style: solid;border-color:red;}
p.double {border-style: double;border-color:red;}
p.groove {border-style: groove;border-color:red;}
p.ridge {border-style: ridge;border-color:red;}
p.inset {border-style: inset;border-color:red;}
p.outset {border-style: outset;border-color:red;}
p.none {border-style: none;border-color:red;}
p.mix {border-style: dotted dashed solid double;border-color:red;}
p{
display: inline-block;
padding: 3px;
margin: 15px;
}
div{
position: absolute;
margin: 100px auto;
top: 0;
right: 0;
bottom: 0;
left: 0;
width: 300px;
height: 150px;
}
</style>
</head>
<body>
<h1>The border-style properties</h1>
<div>
<table>
<tr><td>
<p class="dotted">A dotted border.</p><br></td><td>
<p class="dashed">A dashed border.</p><br></td>
</tr><tr><td>
<p class="solid">A solid border.</p><br></td><td>
<p class="double">A double border.</p><br></td>
</tr><tr><td>
<p class="groove">A groove border.</p><br></td><td>
<p class="ridge">A ridge border.</p><br></td>
</tr><tr><td>
<p class="inset">An inset border.</p><br></td><td>
<p class="outset">An outset border.</p><br></td>
</tr><tr><td>
<p class="none">No border.</p><br></td><td>
<p class="mix">A mixed border.</p><br></td>
</tr>
</table>
</div>
</body>
</html>