<div class="wrapper">
<h1>标题</h1>
<p>内容</p>
</div>
![]()
top.gif bottom.gif
.wrapper{width:181px;background:#8cc355 url(../images/bottom.gif) no-repeat left bottom;}
.wrapper h1{padding:10px 20px 0 20px;background:url(../images/top.gif) no-repeat left top;}
.wrapper p{padding:0 20px 10px 20px;}
<div class="wrapper">
<h1>标题</h1>
<p>内容</p>
</div>
.wrapper{width:183px;background:url(../images/tile.gif) repeat-y center;}
.wrapper h1{padding:20px 20px 0 20px;background:url(../images/top.gif) no-repeat left top;}
.wrapper p{padding:0 20px 20px 20px;background:url(../images/bottom.gif) no-repeat left bottom;}
<div class="wrapper">
<div class="box-outer">
<div class="box-inner">
<h1>标题</h1>
<p>内容</p>
</div>
</div>
</div>
.wrapper{width:20em;background:#ccc url(../images/bottom-left.gif) no-repeat left bottom;}
.box-outer{background:url(../images/bottom-right.gif) no-repeat right bottom;}
.box-inner{background:url(../images/top-left.gif) no-repeat left top;}
.wrapper h1{padding:2%;background:url(../images/top-right.gif) no-repeat right top;}
.wrapper p{padding:2%;}
结构构成图
实际用到的圆角小图
新闻热点
疑难解答