Skip to content

Commit

Permalink
Merge pull request #11549 from ncoden/docs/callout-close-button-callo…
Browse files Browse the repository at this point in the history
…ut-example

docs: make Callout closable in the first Close Button example
  • Loading branch information
ncoden authored Oct 21, 2018
2 parents 8386fbc + 7cffc52 commit 72d90cf
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 72d90cf

Please sign in to comment.