1
0
mirror of https://github.com/tabler/tabler.git synced 2026-07-29 06:24:38 +04:00
Files
tabler/pages/_docs/cursors.md
T
2020-02-21 09:50:21 +01:00

42 lines
1.5 KiB
Markdown

---
title: Cursors
description: You can use different cursors to reflect the intended user interaction with particular elements of an interface. The cursor will change when a user hovers over a given element to indicate the action which can be performed.
menu: docs.cursors
---
## Cursor utilities
Use one of the available cursor utilities depending on the action you want to indicate.
- `.cursor-auto`- the cursor style depends on what's inside a given element
- `.cursor-pointer` - a pointing cursor, used to show that an element is clickable
- `.cursor-move` - a cursor which shows that a given element can be moved
- `.cursor-not-allowed` - a cursor which shows that a user is not allowed to perform an action on an element
- `.cursor-zoom-in` - a cursor which shows that a user can zoom in
- `.cursor-zoom-out` - a cursor which shows that a user can zoom out
{% capture code %}
<div class="row text-center">
<div class="col-4 mb-3">
<div class="cursor-auto bg-light py-3">Cursor auto</div>
</div>
<div class="col-4 mb-3">
<div class="cursor-pointer bg-light py-3">Cursor pointer</div>
</div>
<div class="col-4 mb-3">
<div class="cursor-move bg-light py-3">Cursor move</div>
</div>
<div class="col-4">
<div class="cursor-not-allowed bg-light py-3">Cursor not allowed</div>
</div>
<div class="col-4">
<div class="cursor-zoom-in bg-light py-3">Cursor zoom in</div>
</div>
<div class="col-4">
<div class="cursor-zoom-out bg-light py-3">Cursor zoom out</div>
</div>
</div>
{% endcapture %}
{% include example.html code=code %}