欢迎来到DIVCSS5查找CSS资料与学习DIV CSS布局技术!

<html>
<head>

<style type="text/css">

body {bac千克round-color: yellow}
h1 {background-color: #00ff00}
h2 {bac千克round-color: transparent}
p {bac千克round-color: rgb(250,0,255)}

p.no2 {background-color: gray; padding: 20px;}

</style>

</head>

<body>

<h1>这是标题问题 1</h1>
<h2>这是题目 2</h2>
<p>这是段落</p>
<p class="no2">这个段落配置了内边距。</p>

</body>
</html>

如需转载,请注明文章出处和来源网址:http://www.divcss5.com/shili/s53567.shtml