Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'site/docs/4.2/utilities/close-icon.md')
-rw-r--r--site/docs/4.2/utilities/close-icon.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/site/docs/4.2/utilities/close-icon.md b/site/docs/4.2/utilities/close-icon.md
new file mode 100644
index 0000000000..a848c012e7
--- /dev/null
+++ b/site/docs/4.2/utilities/close-icon.md
@@ -0,0 +1,16 @@
+---
+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">&times;</span>
+</button>
+{% endcapture %}
+{% include example.html content=example %}