案例:CSS3 案例     状态:可编辑再运行    进入竖版
 运行结果 
x
 
1
<!DOCTYPE html>
2
<html>
3
<head>
4
<style>
5
div p
6
{
7
background-color:yellow;
8
}
9
</style>
10
</head>
11
12
<body>
13
<h1>欢迎来到我到的主页</h1>
14
15
<div class="intro">
16
<p>我是唐老鸭。</p>
17
<p>我住在 Duckburg。</p>
18
</div>
19
20
<p>我最好的朋友是米老鼠。</p>
21
22
</body>
23
</html>
24