我想在這裏完成兩件事:如何控制底部邊框的間距?
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