首页 > Web开发 > 详细

html css 标题背景 折边凸显效果

时间:2016-02-05 17:21:06      阅读:434      评论:0      收藏:0      [点我收藏+]
实现这样的效果,标题背景 超出所在的box

技术分享

下面是代码,标题是 <h2> 标签


复制代码
代码如下:

#exp-detail .exp-content h2 {
background-position: 0 -82px;
font-size: 14px;
font-weight: bold;
height: 48px;
line-height: 40px;
margin: 15px -24px 0 -31px;
padding-left: 27px;
position: relative;
}

html css 标题背景 折边凸显效果

原文:http://www.jb51.net/css/135025.html

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