mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-09 02:46:15 +01:00
b46f05a948
This commit includes all the needed workarounds and most changes from the main branch for everything to work, like: * removing empty lines in raw HTML that break output * read .browserslistrc, CSS variables from disk instead of duplicating it * using Hugo mounts * using Hugo for the docs CSS/JS * move ToC Sass code to a separate file while adapting it for Hugo Thus, this patch makes our npm scripts faster since lint runs on one step and there's no separate docs assets processing.
15 lines
365 B
Markdown
15 lines
365 B
Markdown
---
|
|
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 >}}
|