bootstrap/site/content/docs/4.6/utilities/close-icon.md

15 lines
365 B
Markdown
Raw Permalink Normal View History

---
layout: docs
title: Close icon
2017-05-29 02:25:59 +08:00
description: Use a generic close icon for dismissing content like modals and alerts.
group: utilities
---
2017-05-29 02:25:59 +08:00
**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">&times;</span>
</button>
{{< /example >}}