Html程序  |  39行  |  3.72 KB

<div>Mouse over the grey blocks to change the cursor.</div>
<div style="width: 20px; height: 20px; margin: 10px; background: #ddd; cursor: auto">auto</div>
<div style="width: 20px; height: 20px; margin: 10px; background: #ddd; cursor: default">default</div>
<div style="width: 20px; height: 20px; margin: 10px; background: #ddd; cursor: hand">hand</div>
<div style="width: 20px; height: 20px; margin: 10px; background: #ddd; cursor: pointer">pointer</div>
<div style="width: 20px; height: 20px; margin: 10px; background: #ddd; cursor: text">text</div>
<div style="width: 20px; height: 20px; margin: 10px; background: #ddd; cursor: help">help</div>
<div style="width: 20px; height: 20px; margin: 10px; background: #ddd; cursor: crosshair">crosshair</div>
<div style="width: 20px; height: 20px; margin: 10px; background: #ddd; cursor: move">move</div>
<div style="width: 20px; height: 20px; margin: 10px; background: #ddd; cursor: w-resize">w</div>
<div style="width: 20px; height: 20px; margin: 10px; background: #ddd; cursor: e-resize">e</div>
<div style="width: 20px; height: 20px; margin: 10px; background: #ddd; cursor: n-resize">n</div>
<div style="width: 20px; height: 20px; margin: 10px; background: #ddd; cursor: s-resize">s</div>
<div style="width: 20px; height: 20px; margin: 10px; background: #ddd; cursor: nw-resize">nw</div>
<div style="width: 20px; height: 20px; margin: 10px; background: #ddd; cursor: ne-resize">ne</div>
<div style="width: 20px; height: 20px; margin: 10px; background: #ddd; cursor: sw-resize">sw</div>
<div style="width: 20px; height: 20px; margin: 10px; background: #ddd; cursor: se-resize">se</div>
<div style="width: 20px; height: 20px; margin: 10px; background: #ddd; cursor: ns-resize">ns</div>
<div style="width: 20px; height: 20px; margin: 10px; background: #ddd; cursor: ew-resize">ew</div>
<div style="width: 20px; height: 20px; margin: 10px; background: #ddd; cursor: nwse-resize">nwse</div>
<div style="width: 20px; height: 20px; margin: 10px; background: #ddd; cursor: nesw-resize">nesw</div>
<div style="width: 20px; height: 20px; margin: 10px; background: #ddd; cursor: col-resize">col</div>
<div style="width: 20px; height: 20px; margin: 10px; background: #ddd; cursor: row-resize">row</div>
<div style="width: 20px; height: 20px; margin: 10px; background: #ddd; cursor: all-scroll">allscroll</div>
<div style="width: 20px; height: 20px; margin: 10px; background: #ddd; cursor: vertical-text">verticaltext</div>
<div style="width: 20px; height: 20px; margin: 10px; background: #ddd; cursor: context-menu">contextmenu</div>
<div style="width: 20px; height: 20px; margin: 10px; background: #ddd; cursor: no-drop">nodrop</div>
<div style="width: 20px; height: 20px; margin: 10px; background: #ddd; cursor: not-allowed">notallowed</div>
<div style="width: 20px; height: 20px; margin: 10px; background: #ddd; cursor: progress">progress</div>
<div style="width: 20px; height: 20px; margin: 10px; background: #ddd; cursor: wait">wait</div>
<div style="width: 20px; height: 20px; margin: 10px; background: #ddd; cursor: alias">alias</div>
<div style="width: 20px; height: 20px; margin: 10px; background: #ddd; cursor: cell">cell</div>
<div style="width: 20px; height: 20px; margin: 10px; background: #ddd; cursor: copy">copy</div>
<div style="width: 20px; height: 20px; margin: 10px; background: #ddd; cursor: none">none</div>
<div style="width: 20px; height: 20px; margin: 10px; background: #ddd; cursor: -webkit-zoom-in">zoom in</div>
<div style="width: 20px; height: 20px; margin: 10px; background: #ddd; cursor: -webkit-zoom-out">zoom out</div>
<div style="width: 20px; height: 20px; margin: 10px; background: #ddd; cursor: -webkit-grab">grab</div>
<div style="width: 20px; height: 20px; margin: 10px; background: #ddd; cursor: -webkit-grabbing">grabbing</div>