2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-20 20:00:36 +03:00

Docs: Breaks out Utilities into separate section and optimizes its pages (#20678)

This commit is contained in:
Kovah
2016-09-09 06:48:17 +02:00
committed by Mark Otto
parent 82e7abcdf3
commit 076a950442
14 changed files with 436 additions and 367 deletions
+13
View File
@@ -0,0 +1,13 @@
---
layout: docs
title: Close icon
group: utilities
---
Use a generic close icon for dismissing content like modals and alerts. **Be sure to include text for screen readers**, as we've done with `aria-label`.
{% example html %}
<button type="button" class="close" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
{% endexample %}