如何正確指定懸停在縮略圖周圍的.CSS邊框?我想添加外部CSS的縮略圖,正常:如何指定懸停在縮略圖周圍的CSS邊框?
border-color: #cccccc;
border-style: solid;
border-width: 1px;
和懸停:
border-color: #0000FF;
border-style: solid;
border-width: 1px;
HTML:
<div class="item-list"><ul id="field-slideshow-1-pager" class="field-slideshow-pager slides-4">
<li class="first"><a href="#"><img class="field-slideshow-thumbnail field-slideshow-thumbnail-1" typeof="foaf:Image" src="http://ecx.images-amazon.com/images/I/41MNf5JEQ1L._SL75_SS45_.jpg" width="80" height="80" alt="" /></a></li>
<li><a href="#"><img class="field-slideshow-thumbnail field-slideshow-thumbnail-2" typeof="foaf:Image" src="http://ecx.images-amazon.com/images/I/410ONnNmmJL._SL75_SS45_.jpg" width="80" height="80" alt="" /></a></li>
<li><a href="#"><img class="field-slideshow-thumbnail field-slideshow-thumbnail-3" typeof="foaf:Image" src="http://ecx.images-amazon.com/images/I/41lyduCW9CL._SL75_SS45_.jpg" width="80" height="80" alt="" /></a></li>
<li class="last"><a href="#"><img class="field-slideshow-thumbnail field-slideshow-thumbnail-4" typeof="foaf:Image" src="http://ecx.images-amazon.com/images/I/41VHLWxrbcL._SL75_SS45_.jpg" width="80" height="80" alt="" /></a></li>
</ul></div>
的大拇指IMG類在結尾處不同nubmers ,只是不確定。
無需再次指定'邊境width'和'邊境style' :) – Ana
@Ana哈哈,是的,謝謝:) *我臉紅犯愚蠢的錯誤。* – Chris
'字段幻燈片縮略圖-x'部分是不相關的風格? – fxgreen