0
我試圖使用CSS和jQuery UI來複制這個網站:http://www.carbonstudio.co.uk/CSS:位置圓(LI)成一個圓圈
我想知道我怎麼去使用CSS來定位Li畫廊的項目,因此是像樣本中的下落區域周圍有一圈?
我JS提琴如下:
http://jsfiddle.net/elogicmedia/GG5EL/11/
有關名單畫廊目前的CSS代碼:
#gallery { float: left; width: 100%; min-height: 12em; }
.gallery.custom-state-active { background: #eee; }
.gallery li {
float: left; width: 100px; height: 100px; margin: 0 0.4em 0.4em 0; text-align: center; cursor: move;
-webkit-border-radius: 50px;
-moz-border-radius: 50px;
border-radius: 50px;
}
.gallery li h5 { margin: 0 0 0.4em; }
.gallery li a { float: right; }
.gallery li a.ui-icon-zoomin { float: left; }
.gallery li img { width: 100%; cursor: move; }