时间: 2021-07-31 作者:daque
css cursor types
光标典型
css
把你的光标放到相映笔墨上察看功效
要提防光目标本质功效依附于用户的体例树立,与你在这边看到的功效并不确定普遍。
十字准心
cursor: crosshair;
手
cursor: pointer; cursor: hand;写两个是为了光顾ie5,它只认hand。
等候/沙漏
cursor: wait;
扶助
cursor: help;
没辙开释
cursor: no-drop;
笔墨/编纂
cursor: text;
可挪动东西
cursor: move;
进取变换巨细(north)
cursor: n-resize;
向下变换巨细(south)
cursor: s-resize;
向右变换巨细(east)
cursor: e-resize;
向左变换巨细(west)
cursor: w-resize;
进取右变换巨细(north east)
cursor: ne-resize;
进取左变换巨细(north west)
cursor: nw-resize;
向下右变换巨细(south east)
cursor: se-resize;
向下左变换巨细(south west)
cursor: sw-resize;
机动
cursor: auto;
遏止
cursor:not-allowed;
处置中
cursor: progress;
体例默许
cursor: default;
用户自设置(可用动画)
cursor: url(' # '); # = 光标文献地方 (提防文献方法必需为:.cur 或 .ani)。