1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | .submit_img /*替換按鈕圖片網址(平常時)*/ { background: transparent url(圖片網址) no-repeat scroll top left; height: 96px; padding-left: 0px; width: 96px; overflow: hidden; margin-top: -10px; font-size: 0px; /*字體大小*/ transition: 0.3s } .submit_img:hover /*替換按鈕圖片網址(滑鼠移上時)*/ { background: transparent url(圖片網址) no-repeat scroll top left; height: 96px; padding-left: 0px; width: 96px; margin-top: -10px; overflow: hidden; font-size: 0px; /*字體大小*/ transition: 0.5s } |
Direct link: https://paste.plurk.com/show/oCorDiMeP4tHSLyaooTs