案例:CSS案例     状态:可编辑再运行    进入竖版
 运行结果 
x
 
1
<!DOCTYPE HTML>
2
<html>
3
<head>
4
<style type="text/css">
5
h1 + p {margin-top:50px;}
6
</style>
7
</head>
8
9
<body>
10
<h1>This is a heading.</h1>
11
<p>This is paragraph.</p>
12
<p>This is paragraph.</p>
13
<p>This is paragraph.</p>
14
<p>This is paragraph.</p>
15
<p>This is paragraph.</p>
16
</body>
17
</html>
18