Monday, January 7, 2013

CSS cursor Property Examples


See How the Cursor Changes

Put your mouse over the following links to see how the cursor changes. Be sure to test in different browsers, as not all CSS cursor typess are supported.
  • Default Cursors
  • Basic Cursors
  • Text Cursors
  • Resize Cursors
  • Table Cursors
  • Custom Cursors
Default Cursors
<a href="">No change to the cursor</a>
<a href="" style="cursor: auto;">cursor: auto;</a>
<a href="" style="cursor: default;">cursor: default;</a>
<a href="" style="cursor: none;">cursor: none;</a>
Basic Cursors
<a href="" style="cursor: help;">cursor: help;</a>
<a href="" style="cursor: pointer;">cursor: pointer;</a>
<a href="" style="cursor: progress;">cursor: progress;</a>
<a href="" style="cursor: wait;">cursor: wait;</a>
<a href="" style="cursor: crosshair;">cursor: crosshair;</a>
Text Cursors
<a href="" style="cursor: text;">cursor: text;</a>
<a href="" style="cursor: vertical-text;">cursor: vertical-text;</a>
<a href="" style="cursor: alias;">cursor: alias;</a>
<a href="" style="cursor: copy;">cursor: copy;</a>
<a href="" style="cursor: move;">cursor: move;</a>
<a href="" style="cursor: no-drop;">cursor: no-drop;</a>
<a href="" style="cursor: not-allowed;">cursor: not-allowed;</a>
Resize Cursors
<a href="" style="cursor: e-resize;">cursor: e-resize;</a>
<a href="" style="cursor: n-resize;">cursor: n-resize;</a>
<a href="" style="cursor: ne-resize;">cursor: ne-resize;</a>
<a href="" style="cursor: nw-resize;">cursor: nw-resize;</a>
<a href="" style="cursor: s-resize;">cursor: s-resize;</a>
<a href="" style="cursor: se-resize;">cursor: se-resize;</a>
<a href="" style="cursor: sw-resize;">cursor: sw-resize;</a>
<a href="" style="cursor: w-resize;">cursor: w-resize;</a>
<a href="" style="cursor: ew-resize;">cursor: ew-resize;</a>
<a href="" style="cursor: ns-resize;">cursor: ns-resize;</a>
<a href="" style="cursor: nesw-resize;">cursor: nesw-resize;</a>
<a href="" style="cursor: nwse-resize;">cursor: nwse-resize;</a>
Table Cursors
<a href="" style="cursor: context-menu;">cursor: context-menu;</a>
<a href="" style="cursor: cell;">cursor: cell;</a>
<a href="" style="cursor: col-resize;">cursor: col-resize;</a>
<a href="" style="cursor: row-resize;">cursor: row-resize;</a>
<a href="" style="cursor: all-scroll;">cursor: all-scroll;</a>
Custom Cursors
<a href="" style="cursor: url(redball.cur),default;">cursor: url(redball.cur);</a>

No comments:
Write comments
Recommended Posts × +