View on GitHub

Close icon

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.

<button type="button" class="close" aria-label="Close">
  <span aria-hidden="true">&times;</span>
</button>

© 2011–2020 Twitter, Inc.
© 2011–2020 The Bootstrap Authors
Code licensed under the MIT License.
Documentation licensed under the Creative Commons Attribution License v3.0.
https://getbootstrap.com/docs/4.5/utilities/close-icon/