diff options
Diffstat (limited to 'site/content/docs/4.5/utilities/interactions.md')
-rw-r--r-- | site/content/docs/4.5/utilities/interactions.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/site/content/docs/4.5/utilities/interactions.md b/site/content/docs/4.5/utilities/interactions.md new file mode 100644 index 0000000000..b808dc5b60 --- /dev/null +++ b/site/content/docs/4.5/utilities/interactions.md @@ -0,0 +1,18 @@ +--- +layout: docs +title: Interactions +description: Utility classes that change how users interact with the contents of a website. +group: utilities +--- + +## Text selection + +Change how the content is selected when the user interacts with it. Note that Internet Explorer and Legacy Edge have no support for the `all` value for `user-select`, and as such, **`.user-select-all` is not supported by either browser.** + +{{< 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 the default select behavior.</p> +<p class="user-select-none">This paragraph will not be selectable when clicked by the user.</p> +{{< /example >}} + +Customize the available classes by changing the `$user-selects` Sass list in `_variables.scss`. |