案例:CSS3 案例     状态:可编辑再运行    进入竖版
 运行结果 
x
 
1
<html>
2
<head>
3
<style type="text/css">
4
img
5
{
6
position:absolute;
7
left:0px;
8
top:0px;
9
z-index:-1;
10
}
11
</style>
12
</head>
13
14
<body>
15
<h1>This is a heading</h1>
16
<img src="/img/eg_smile.gif" />
17
<p>由于图像的 z-index 是 -1,因此它在文本的后面出现。</p>
18
</body>
19
</html>
20