2020-05-11 19:57:29 +02:00
|
|
|
---
|
|
|
|
layout: docs
|
|
|
|
title: Interactions
|
2020-05-12 08:45:21 +02:00
|
|
|
description: Utility classes that change how users interact with the contents of a website.
|
2020-05-11 19:57:29 +02:00
|
|
|
group: utilities
|
|
|
|
---
|
|
|
|
|
|
|
|
## Text selection
|
|
|
|
|
2020-05-12 08:45:21 +02:00
|
|
|
Change how the content is selected when the user interacts with it.
|
2020-05-11 19:57:29 +02:00
|
|
|
|
|
|
|
{% capture 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>
|
|
|
|
{% endcapture %}
|
|
|
|
{% include example.html content=example %}
|
|
|
|
|
|
|
|
Customize the available classes by changing the `$user-selects` Sass list in `_variables.scss`.
|