mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-24 14:04:09 +03:00
5d10e4a58e
- Adds .user-select-* utils from v5 - Adds button role attribute util, one of the top requested features in our issues for adding pointer cursors - Adds new docs page to demonstrate both - Includes Sass list for customizing user select
701 B
701 B
layout, title, description, group
| layout | title | description | group |
|---|---|---|---|
| docs | Interactions | Utility classes that change how users interact with contents of a website. | utilities |
Text selection
Change the way in which the content is selected when the user interacts with it.
{% capture example %}
This paragraph will be entirely selected when clicked by the user.
This paragraph has the default select behavior.
This paragraph will not be selectable when clicked by the user.
{% endcapture %} {% include example.html content=example %}Customize the available classes by changing the $user-selects Sass list in _variables.scss.