여기서 두 가지를 수행하고 싶습니다.아래쪽 테두리의 간격을 어떻게 제어합니까?
1) 아래쪽 테두리의 간격을 제어하고 싶습니다. 아래쪽 테두리를 5 픽셀 아래로 표시 할 수있는 방법이 있습니까? 2) 또한 "Enhance"라는 단어를 굵게 표시하고 싶습니다. 따라서 나의 예에서 첫 단어는 대담해야합니다.
여기 내 jsfiddle입니다 :
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
패딩 : 0 0 5px 0; –
Maddy가 올바르게했습니다. 감사! – user3075987