我編碼這個CSS,爲什麼'搜索'消失?感謝CSS文本消失
<h2 class="domain_header">Search</h2>
.domain_header {
cursor: pointer;
display: block;
padding: 5px;
color: #fff;
position: relative;
text-transform: uppercase;
font-size: 12px;
letter-spacing: 2px;
border-left: 0px solid #06f;
border-bottom: 2px solid #0066FF;
font-weight:bold;
margin:0 0 3px;
}
因爲您將文本顏色設置爲'#fff'(白色),並且背景也是白色的? –