0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-02 14:24:19 +01:00
Bootstrap/site/content/docs/4.3/components/close-button.md
Martijn Cuppens 4387038421 Simplify disabled styles (#29296)
* Simplify disabled styles

* Mention pointer-events usage
2019-12-27 18:40:06 +02:00

599 B
Raw Blame History

layout title description group
docs Close button A generic close button for dismissing content like modals and alerts. components

Be sure to include text for screen readers, as we've done with aria-label. Disabled close buttons have pointer-events: none applied to, preventing hover and active states from triggering.

{{< example >}}

{{< /example >}}