案例:CSS3 案例     状态:可编辑再运行    进入竖版
 运行结果 
x
 
1
<html>
2
<head>
3
<style type="text/css">
4
p {border-style:solid}
5
p.none {border-bottom-style:none}
6
p.dotted {border-bottom-style:dotted}
7
p.dashed {border-bottom-style:dashed}
8
p.solid {border-bottom-style:solid}
9
p.double {border-bottom-style:double}
10
p.groove {border-bottom-style:groove}
11
p.ridge {border-bottom-style:ridge}
12
p.inset {border-bottom-style:inset}
13
p.outset {border-bottom-style:outset}
14
</style>
15
</head>
16
17
<body>
18
<p class="none">No bottom border.</p>
19
<p class="dotted">A dotted bottom border.</p>
20
<p class="dashed">A dashed bottom border.</p>
21
<p class="solid">A solid bottom border.</p>
22
<p class="double">A double bottom border.</p>
23
<p class="groove">A groove bottom border.</p>
24
<p class="ridge">A ridge bottom border.</p>
25
<p class="inset">An inset bottom border.</p>
26
<p class="outset">An outset bottom border.</p>
27
</body>
28
</html>
29