Skip to content

Commit

Permalink
Use pull request #11549 from ncoden/docs/callout-close-button-callout…
Browse files Browse the repository at this point in the history
…-example for v6.5.0

7cffc52 docs: make Callout closable in the first Close Button example

Signed-off-by: Nicolas Coden <[email protected]>
  • Loading branch information
ncoden committed Oct 21, 2018
1 parent a065109 commit 4bcb954
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/pages/close-button.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ The button is also labeled with `aria-label` to clarify what the button's purpos
</p>

<div class="docs-codepen-container">
<a class="codepen-logo-link" href="http://codepen.io/ZURBFoundation/pen/xdjEgO?editors=1000" target="_blank"><img src="{{root}}assets/img/logos/edit-in-browser.svg" class="" height="" width="" alt="edit on codepen button"></a>
<a class="codepen-logo-link" href="https://codepen.io/ncoden/pen/vVrrjG?editors=1000" target="_blank"><img src="{{root}}assets/img/logos/edit-in-browser.svg" class="" height="" width="" alt="edit on codepen button"></a>
</div>

```html_example
<div class="callout">
<button class="close-button" aria-label="Close alert" type="button">
<div class="callout" data-closable>
<button class="close-button" aria-label="Close alert" type="button" data-close>
<span aria-hidden="true">&times;</span>
</button>
<p>Look at this close button!</p>
Expand Down

0 comments on commit 4bcb954

Please sign in to comment.