我想在这里完成两件事:如何控制底部边框的间距?
1)我想控制下边框的间距。有没有办法让下边框在类型下方显示5个像素? 2)另外,我想粗体地使用“Enhance”一词。所以我的例子中的第一个词应该是大胆的。
这里是我的jsfiddle:http://jsfiddle.net/m9zLj27j/6/
这里是我的代码:
h1 {
font-family:Helvetica, Arial;
font-size:1.6em;
text-transform:uppercase;
font-weight:normal;
margin-bottom:-5px;
}
h1.section-title {
font-family: Helvetica, Arial;
font-size:32px;
font-weight: normal;
margin: 50px 0;
border-bottom: 1px dotted #f66511;
}
h1.section-title-bold {
font-weight: bold;
}
.rtecenter {
text-align: center;
}
.blue {
color: #2251a4;
}
<h1 class="section-title rtecenter blue">
<span class="section-title-bold">Enhance</span> Your Search</h1>
这是什么原因你[寻找](http://jsfiddle.net/m9zLj27j/9/)? – Arvind 2014-09-19 04:52:14
padding:0 0 5px 0; – 2014-09-19 04:54:15
Maddy说得对。谢谢! – user3075987 2014-09-19 04:59:25