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