案例:CSS3 案例     状态:可编辑再运行    进入竖版
 运行结果 
x
 
1
<!DOCTYPE html>
2
<html>
3
<head>
4
<style>
5
.hometown
6
{
7
background-color:yellow;
8
}
9
</style>
10
</head>
11
12
<body>
13
14
<p>我是唐老鸭。</p>
15
<p class="hometown">我住在 Duckburg。</p>
16
17
<p>我是米老鼠。</p>
18
<p class="hometown">我也住在 Duckburg。</p>
19
</body>
20
</html>
21