diff options
author | XhmikosR <xhmikosr@gmail.com> | 2019-01-08 19:33:28 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2019-03-13 20:22:59 +0300 |
commit | d95d30029f8d63190eb242c9914cee16b6b90627 (patch) | |
tree | 06fbab510fa94ac092606eb04b37d061e64d8fbc /site/content/docs/4.3/utilities/close-icon.md | |
parent | 6aa475c82e69a02882e87da7067e522806d6579c (diff) |
Switch to Hugo.
No more Ruby dependency and most important more than 10 times less build time (at least on Windows)!
Diffstat (limited to 'site/content/docs/4.3/utilities/close-icon.md')
-rw-r--r-- | site/content/docs/4.3/utilities/close-icon.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/site/content/docs/4.3/utilities/close-icon.md b/site/content/docs/4.3/utilities/close-icon.md new file mode 100644 index 0000000000..8329fd94b0 --- /dev/null +++ b/site/content/docs/4.3/utilities/close-icon.md @@ -0,0 +1,14 @@ +--- +layout: docs +title: Close icon +description: Use a generic close icon for dismissing content like modals and alerts. +group: utilities +--- + +**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">×</span> +</button> +{{< /example >}} |