CSS游标属性示例
使用CSScursor属性,可以显示十字准线或加号,指针等。您可以尝试运行以下代码以在CSS中实现cursor属性-
示例
<html>
<head>
</head>
<body>
<div style = "cursor:auto">Auto</div>
<div style = "cursor:crosshair">Crosshair</div>
<div style = "cursor:default">Default</div>
<div style = "cursor:pointer">Pointer</div>
<div style = "cursor:move">Move</div>
<div style = "cursor:e-resize">e-resize</div>
<div style = "cursor:ne-resize">ne-resize</div>
<div style = "cursor:nw-resize">nw-resize</div>
<div style = "cursor:n-resize">n-resize</div>
<div style = "cursor:se-resize">se-resize</div>
<div style = "cursor:sw-resize">sw-resize</div>
<div style = "cursor:s-resize">s-resize</div>
<div style = "cursor:w-resize">w-resize</div>
<div style = "cursor:text">text</div>
<div style = "cursor:wait">wait</div>
<div style = "cursor:help">help</div>
</body>
</html>我们在上面添加了以下值-
热门推荐
10 2026新年祝福语简短语
11 老板生日祝福语简短语
12 春节送祝福语简短的
13 新年祝福语简短创意兄弟
14 恭喜新郎父母简短祝福语
15 朋友领证祝福语长文简短
16 高温早安祝福语简短精辟
17 预祝高尔夫的祝福语简短
18 创业大吉祝福语简短