Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions scss/_utilities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,11 @@ $utilities: map-merge(
class: font,
values: (monospace: var(--font-family-monospace))
),
"cursor": (
property: cursor,
class: cursor,
values: pointer
),
"user-select": (
property: user-select,
values: all auto none
Expand Down
8 changes: 8 additions & 0 deletions site/content/docs/4.3/utilities/interactions.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ Change the way in which the content is selected when the user interacts with it.
<p class="user-select-none">This paragraph will not be selectable when clicked by the user.</p>
{{< /example >}}

## Cursors

Change the cursor from a default value to `pointer` with our built-in utility.

{{< example >}}
<span role="button" class="cursor-pointer">Non-button element button</span>
{{< /example >}}

## Pointer events

Bootstrap provides `pe-none` and `pe-auto` classes to prevent or add element interactions.
Expand Down