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


实现这样的效果,标题背景 超出所在的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;
}

« 
» 
快速导航

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3