# Cursor

> Utilities for controlling the cursor style on hover.

Source: https://www.zenplates.co/documentation/utilities/cursor/ (Utilities › Interactivity)

These utilities can be useful when creating layouts that include functionality but lack an appropriate on-hover cursor. For example, adding `.cursor-pointer` to an element that is interactive but uses the default cursor by default will ensure that visitors know they can click on it.

| Class             | Properties         |
| ----------------- | ------------------ |
| `.cursor-pointer` | `cursor: pointer;` |

## Usage

Use `.cursor-pointer` to change the mouse cursor to indicate an interactive element.

## Variants

By default, no responsive or hover-state variants are generated for cursor utilities.

### Responsive

To include responsive variants like `.md:cursor-pointer`, add `"cursor"` to the `$responsive-variants` variable in your theme's `_variables.scss` file when [recompiling your CSS](https://www.zenplates.co/documentation/customization/using-sass-source-files):

```scss
$responsive-variants: (
  // ...
  "cursor",
);
```

### Hover-state

To include hover-state variants like `.hover:cursor-default`, add `"cursor"` to the `$hover-variants` variable:

```scss
$hover-variants: (
  // ...
  "cursor",
);
```
