Close icon is used for dismissing content like modals and alerts. Be sure to include text for screen readers, as we’ve done with aria-label.
Syntax:
<button type="button" class="close" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
Leave a Reply