CSS 滑鼠樣式的變化

來源:互聯網
上載者:User

請把滑鼠移動到單詞上,這樣會看到滑鼠指標的變化:

Auto
Crosshair
Default
Pointer
Hand
Move
e-resize
ne-resize
nw-resize
n-resize
se-resize
sw-resize
s-resize
w-resize
text
wait
help

 

代碼:

<html>

<body>

<p>請把滑鼠移動到單詞上,這樣會看到滑鼠指標的變化:</p> 

<span style="cursor: auto">Auto</span><br />

<span style="cursor: crosshair">Crosshair</span><br />

<span style="cursor: default">Default</span><br />

<span style="cursor: pointer">Pointer</span><br />

<span style="cursor: hand">Hand</span><br />

<span style="cursor: move">Move</span><br />

<span style="cursor: e-resize">e-resize</span><br />

<span style="cursor: ne-resize">ne-resize</span><br />

<span style="cursor: nw-resize">nw-resize</span><br />

<span style="cursor: n-resize">n-resize</span><br />

<span style="cursor: se-resize">se-resize</span><br />

<span style="cursor: sw-resize">sw-resize</span><br />

<span style="cursor: s-resize">s-resize</span><br />

<span style="cursor: w-resize">w-resize</span><br />

<span style="cursor: text">text</span><br />

<span style="cursor: wait">wait</span><br />

<span style="cursor: help">help</span><br />

</body>

</html>

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.