mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-03 15:24:19 +01:00
5db281d7c4
* Move close icon to components * Remove redundant float from close
15 lines
366 B
Markdown
15 lines
366 B
Markdown
---
|
|
layout: docs
|
|
title: Close icon
|
|
description: Use a generic close icon for dismissing content like modals and alerts.
|
|
group: components
|
|
---
|
|
|
|
**Be sure to include text for screen readers**, as we've done with `aria-label`.
|
|
|
|
{{< example >}}
|
|
<button type="button" class="close" aria-label="Close">
|
|
<span aria-hidden="true">×</span>
|
|
</button>
|
|
{{< /example >}}
|