0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-02 14:24:19 +01:00
Bootstrap/site/content/docs/5.0/utilities/interactions.md
XhmikosR 38ec7c4df7
Bump version to 5.0.0-alpha1 (#29925)
Also add v4.5.0 in versions and keep README.md pointing to v4.5.0 so that there are no broken stuff.
2020-05-13 22:36:00 +03:00

1.1 KiB

layout title description group toc
docs Interactions Utility classes that change how users interact with contents of a website. utilities false

Text selection

Change the way in which the content is selected when the user interacts with it.

{{< example >}}

This paragraph will be entirely selected when clicked by the user.

This paragraph has default select behavior.

This paragraph will not be selectable when clicked by the user.

{{< /example >}}

Pointer events

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

{{< example >}}

This link can not be clicked.

This link can be clicked (this is default behaviour).

This link can not be clicked because the pointer-events property is inherited from its parent. However, this link has a pe-auto class and can be clicked.

{{< /example >}}