案例:CSS3 案例     状态:可编辑再运行    进入竖版
 运行结果 
x
 
1
<!DOCTYPE html>
2
<html>
3
<head>
4
<style>
5
p:first-line
6
{
7
background-color:yellow;
8
}
9
</style>
10
</head>
11
12
<body>
13
<h1>WWF's Mission Statement</h1>
14
<p>To stop the degradation of the planet's natural environment and to build a future in which humans live in harmony with nature, by; conserving the world's biological diversity, ensuring that the use of renewable natural resources is sustainable, and promoting the reduction of pollution and wasteful consumption.</p>
15
</body>
16
</html>
17