自定義鼠標圖標(可能無效) .shou { cursor:url(../../wwwroot/lib/layui/v2.4.5/dist/images/face/31.gif) } .show{ cursor:pointer } <label class=" shou" >發佈人</label> 其中pointer爲一個手,其餘形狀以下: 默認 default 文字/編輯 text 自動 auto 手形 pointer, hand(hand是IE專有) 可移動對象 move 不容許 not-allowed 沒法釋放 no-drop 等待/沙漏 wait 幫助 help 十字準星 crosshair 向上改變大小(North) n-resize 向下改變大小(South) s_resize 與n-resize效果相同 向左改變大小(West) w-resize 向右改變大小(East) e-resize 與w-resize效果相同 向左上改變大小(NorthWest) nw-resize 向左下改變大小(SouthWest) sw-resize 向右上改變大小(NorthEast) ne-resize 與sw-resize效果相同 向右下改變大小(SouthEast) se-resize 與nw-resize效果相同 自定義光標 url('光標地址')