求問:這段代碼是什么意思?
uj5u.com熱心網友回復:
給按鈕定義樣式uj5u.com熱心網友回復:
高和寬是定義按鈕的高度和寬度嗎uj5u.com熱心網友回復:
#buttons { position: absolute; height: 10px; width: 100px; z-index: 2; bottom: 20px; left: 250px;}/**/ #buttons span { cursor: pointer; float: left; border: 1px solid #fff; width: 10px; height: 10px; border-radius: 50%; background: #333; margin-right: 5px;} #buttons .on { background: orangered;}/*圖片播放時小圓點的顏色*/ .arrow { cursor: pointer; display: none; line-height: 39px; text-align: center; font-size: 36px; font-weight: bold; width: 40px; height: 40px; position: absolute; z-index: 2; top: 180px; background-color: RGBA(0,0,0,.3); color: #fff;} .arrow:hover { background-color: RGBA(0,0,0,.7);} #container:hover .arrow { display: block;}
uj5u.com熱心網友回復:
但是那個高和寬是定義什么的
uj5u.com熱心網友回復:
#buttons {}給一個id=buttons定義的相關樣式,網上參考一下css就對了轉載請註明出處,本文鏈接:https://www.uj5u.com/qianduan/198934.html
標籤:JavaScript
