mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-12 00:08:59 +01:00
8f7bd41993
* update docs path from docs/4.0/ to docs/4.1/ * bump version to 4.1.0 * Update redirects to work for 4.1 docs move * Update docs version switcher to include latest and link to 4.0 docs * re-run dist * Update package-lock.json * Update docs-navbar.html
17 lines
424 B
Markdown
17 lines
424 B
Markdown
---
|
|
layout: docs
|
|
title: Close icon
|
|
description: Use a generic close icon for dismissing content like modals and alerts.
|
|
group: utilities
|
|
toc: true
|
|
---
|
|
|
|
**Be sure to include text for screen readers**, as we've done with `aria-label`.
|
|
|
|
{% capture example %}
|
|
<button type="button" class="close" aria-label="Close">
|
|
<span aria-hidden="true">×</span>
|
|
</button>
|
|
{% endcapture %}
|
|
{% include example.html content=example %}
|