[問題] 如何超連結在同一div區塊顯示不同顏色
請問我想要讓超連結在同一個div區塊 可是可以讓其中一縣市是被放大的
其他都還是原本大小並且有連結 要怎麼做呢?
我現在這樣設定可是台北還是承襲where a的樣式 並沒有套用到class樣式 .
Html如下:
<div id="where">
<span class="wherehightlight"><a href="#">台北</a></span>
<a href="#">桃園</a>
<a href="#">新竹</a>
<a href="#"> 台中</a>
<a href="#"> 高雄</a>
</div>
css:
#where a:link{
color:#8E63B7;
text-decoration: none;
font-size:13px;
}
#where a:visited{color:#8E63B7; text-decoration: none; }
#where a:hover{color:#8E63B7; text-decoration: underline; }
#where a:active{
color:#8E63B7;
text-decoration: none;
}
.wherehightlight {
color:#eb0000;
text-decoration: none;
font-size:24px;
}
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 60.251.154.220
→
06/23 12:35, , 1F
06/23 12:35, 1F
推
06/24 00:43, , 2F
06/24 00:43, 2F
→
06/24 00:43, , 3F
06/24 00:43, 3F