mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-29 04:54:12 +03:00
16 lines
378 B
Markdown
Executable File
16 lines
378 B
Markdown
Executable File
---
|
|
layout: docs
|
|
title: Close icon
|
|
description: Use a generic close icon for dismissing content like modals and alerts.
|
|
group: utilities
|
|
toc: true
|
|
---
|
|
|
|
**Be sure to include text for screen readers**, as we've done with `aria-label`.
|
|
|
|
{% example html %}
|
|
<button type="button" class="close" aria-label="Close">
|
|
<span aria-hidden="true">×</span>
|
|
</button>
|
|
{% endexample %}
|