2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-11 18:02:28 +03:00

Move close icon to components in docs (#28512)

* Move close icon to components

* Remove redundant float from close
This commit is contained in:
Martijn Cuppens
2019-05-10 20:27:22 +02:00
committed by GitHub
parent 06635be7bd
commit 5db281d7c4
3 changed files with 2 additions and 3 deletions
@@ -0,0 +1,14 @@
---
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">&times;</span>
</button>
{{< /example >}}