css cursor 的可选值(鼠标的各种样式)

2020-05-10 11:27:35易采站长站整理


向上改变大小(North)



The cursor indicates that an edge of a box is to be moved up (north)
边缘可向上移动(北)




cursor: s-resize;



 



向下改变大小(South)



The cursor indicates that an edge of a box is to be moved down (south)
边缘可向下方移动(南)




cursor: e-resize;



 



向右改变大小(East)



The cursor indicates that an edge of a box is to be moved right (east)
box边缘可向右(东)边移动




cursor: w-resize;





向左改变大小(West)



The cursor indicates that an edge of a box is to be moved left (west)
边缘可向左移动(西)




cursor: ne-resize;



 



向上右改变大小(North East)



The cursor indicates that an edge of a box is to be moved up and right (north/east)
游标暗示box的边缘可向右上方移动(东北方向)




cursor: nw-resize;



 



向上左改变大小(North West)



The cursor indicates that an edge of a box is to be moved up and left (north/west)
边缘可向左上方移动(西北)




cursor: se-resize;



 



向下右改变大小(South East)



The cursor indicates that an edge of a box is to be moved down and right (south/east)
边缘可向右下方移动(东南)




cursor: sw-resize;