代码如下:
<div class="box">
<h2><p><span>个人博客</span>模板</p></h2>
.box h2{color:#fff;
border-bottom:#fff 1px solid;
}
h2下面的横线和h2之间的距离怎么取消,试了padding-bottom没有用,如图,蓝色背景下面边缘为border-bottom所处位置
代码如下:
<div class="box">
<h2><p><span>个人博客</span>模板</p></h2>
.box h2{color:#fff;
border-bottom:#fff 1px solid;
}
h2下面的横线和h2之间的距离怎么取消,试了padding-bottom没有用,如图,蓝色背景下面边缘为border-bottom所处位置
2 回答852 阅读✓ 已解决
4 回答944 阅读✓ 已解决
2 回答1.2k 阅读✓ 已解决
2 回答1k 阅读✓ 已解决
2 回答2.6k 阅读
2 回答1.6k 阅读
1 回答1k 阅读✓ 已解决