mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-31 23:52:18 +01:00
7a694396c1
* Add utility class for the user-select property * Docs: Add new page for behavior utility classes - includes user select utility * Update and rename behaviors.md to interactions.md * Update sidebar.yml Co-authored-by: Mark Otto <otto@github.com> Co-authored-by: XhmikosR <xhmikosr@gmail.com> Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
18 lines
563 B
Markdown
18 lines
563 B
Markdown
---
|
|
layout: docs
|
|
title: Interactions
|
|
description: Utility classes that change how users interact with contents of a website.
|
|
group: utilities
|
|
toc: false
|
|
---
|
|
|
|
## Text selection
|
|
|
|
Change the way in which the content is selected when the user interacts with it.
|
|
|
|
{{< example >}}
|
|
<p class="user-select-all">This paragraph will be entirely selected when clicked by the user.</p>
|
|
<p class="user-select-auto">This paragraph has default select behavior.</p>
|
|
<p class="user-select-none">This paragraph will not be selectable when clicked by the user.</p>
|
|
{{< /example >}}
|