@@ -271,12 +271,14 @@ <h2 class="content-subhead">Alert</h2>
271
271
< em > NOTE: A few styles have been applied here for illustrative purposes. The actual
272
272
styling of an alert is, in keeping with the spirit of Pure, up to you.</ em >
273
273
</ p >
274
- < input type ="checkbox " id ="close-alert " class ="alert-toggle pcssc-invisible "/>
275
- < div class ="alert alert-success alert-dismissible " role ="alert ">
276
- < span > < strong > Uh oh...</ strong > Something happened...</ span >
277
- < label for ="close-alert " class ="close-alert " aria-label ="Close ">
278
- < span aria-invisible ="true "> ×</ span >
279
- </ label >
274
+ < div class ="pcssc-alert ">
275
+ < input type ="checkbox " id ="close-alert " class ="alert-toggle pcssc-invisible "/>
276
+ < div class ="alert alert-success alert-dismissible " role ="alert ">
277
+ < span > < strong > Uh oh...</ strong > Something happened...</ span >
278
+ < label for ="close-alert " class ="close-alert " aria-label ="Close ">
279
+ < span aria-invisible ="true "> ×</ span >
280
+ </ label >
281
+ </ div >
280
282
</ div >
281
283
282
284
< div style ="background: #ffffff; margin-top: 50px; overflow:auto;width:auto;border:solid gray;margin-top: 50px;border-width:.1em .1em .1em .8em;padding:.2em .6em; "> < pre
@@ -470,18 +472,21 @@ <h3>Basic Collapse</h3>
470
472
</ div >
471
473
472
474
473
- < div style ="background: #ffffff; margin-top: 50px; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em; "> < pre style ="margin: 0; line-height: 125% ">
475
+ < div style ="background: #ffffff; margin-top: 50px; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em; "> < pre
476
+ style ="margin: 0; line-height: 125% ">
474
477
<div class=< span style ="color: #a31515 "> "pcssc-collapse"</ span > >
475
- <label for=< span style ="color: #a31515 "> "collapse-toggle"</ span > class=< span style ="color: #a31515 "> "collapse-button pure-button"</ span > aria-label=< span style ="color: #a31515 "> "Toggle"</ span > >
478
+ <label for=< span style ="color: #a31515 "> "collapse-toggle"</ span > class=< span style ="color: #a31515 "> "collapse-button pure-button"</ span > aria-label=< span
479
+ style ="color: #a31515 "> "Toggle"</ span > >
476
480
<span>Toggle</span>
477
481
</label>
478
- <input type=< span style ="color: #a31515 "> "checkbox"</ span > id=< span style ="color: #a31515 "> "collapse-toggle"</ span > class=< span style ="color: #a31515 "> "collapse-toggle pcssc-invisible"</ span > />
482
+ <input type=< span style ="color: #a31515 "> "checkbox"</ span > id=< span style ="color: #a31515 "> "collapse-toggle"</ span > class=< span
483
+ style ="color: #a31515 "> "collapse-toggle pcssc-invisible"</ span > />
479
484
<div class=< span style ="color: #a31515 "> "collapse-content pcssc-invisible"</ span > >
480
485
Pooka pooka!
481
486
</div>
482
487
</div>
483
- </ pre > </ div >
484
-
488
+ </ pre >
489
+ </ div >
485
490
486
491
487
492
< h3 > Toggling Button Label Collapse</ h3 >
0 commit comments