首页 > 其他 > 详细

标题背景圆角 随意宽度

时间:2015-09-14 15:33:51      阅读:202      评论:0      收藏:0      [点我收藏+]

需要分成三张小图,两头两张JPG,必须是JPG,中间随意

技术分享

<div class="Msg_T">
    <div class="Msg_TL"></div>
    <div class="Msg_TC">收件人列表</div>
    <div class="Msg_TR"></div>
</div>
.Msg_T {width: 100%; height: 42px; background: url(../images/T_2.png) repeat-x;}
.Msg_TL,.Msg_TR {width: 5%; height: 42px; float: left;}
.Msg_TC {width: 90%; line-height: 42px; font-size: 16px; color: #fff; float: left;}
.Msg_TL {background: url(../images/T_1.jpg) no-repeat top left;}
.Msg_TR {background: url(../images/T_2.jpg) no-repeat top right;}

最终效果

技术分享

标题背景圆角 随意宽度

原文:http://www.cnblogs.com/qigege/p/4806997.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!