Refine close button documentation

This commit is contained in:
mark
2023-01-02 07:52:40 +01:00
parent ac36334e46
commit ccabca0e44

View File

@@ -101,6 +101,14 @@ The carousel is available as [custom shortcode]({{< ref "custom-shortcodes#carou
## Close button
Use HTML code to display a generic close button. See the Bootstrap [documentation][bs_close_button] for more options. The following example displays a button with default styling.
```html
<button type="button" class="btn-close" aria-label="Close"></button>
```
The result looks like this.
<button type="button" class="btn-close" aria-label="Close"></button>
## Collapse