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

 运行结果 
 北美留学生论坛