diff options
Diffstat (limited to 'vendor/twbs/bootstrap/site/docs/4.5/utilities/close-icon.md')
-rw-r--r-- | vendor/twbs/bootstrap/site/docs/4.5/utilities/close-icon.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vendor/twbs/bootstrap/site/docs/4.5/utilities/close-icon.md b/vendor/twbs/bootstrap/site/docs/4.5/utilities/close-icon.md new file mode 100644 index 000000000..3a8cb3c44 --- /dev/null +++ b/vendor/twbs/bootstrap/site/docs/4.5/utilities/close-icon.md @@ -0,0 +1,15 @@ +--- +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`. + +{% capture example %} +<button type="button" class="close" aria-label="Close"> + <span aria-hidden="true">×</span> +</button> +{% endcapture %} +{% include example.html content=example %} |