@@ -104,12 +104,14 @@ <h2 class="content-subhead">Pure CSS</h2>
104104 < h2 class ="content-subhead "> Pure CSS Components< a class ="content-link "> </ a > </ h2 >
105105 < p >
106106 Pure CSS doesn't have many components, so I wrote some. And some of the components they have
107- are missing some useful functionality (unless you add in some JS). < em > Please note, this is still a work in
107+ are missing some useful functionality (unless you add in some JS). < em > Please note, this is
108+ still a work in
108109 progress. The usual cautions apply</ em > .
109110 </ p >
110111 < p >
111112 Like Pure CSS, Pure.CSS Components is very small. It is only 2KB* (minified and zipped). Each
112- component is also available as a module. So, if you only need < strong > modals</ strong > , and nothing else, you
113+ component is also available as a module. So, if you only need < strong > modals</ strong > , and
114+ nothing else, you
113115 don't have to
114116 include the entire package.
115117 </ p >
@@ -457,33 +459,34 @@ <h2 class="content-subhead">Collapse</h2>
457459
458460 < h3 > Basic Collapse</ h3 >
459461
460- < label for ="collapse-toggle " class ="collapse-button pure-button " aria-label ="Toggle ">
461- < span > Toggle</ span >
462- </ label >
463- < input type ="checkbox " id ="collapse-toggle " class ="collapse-toggle pcssc-invisible "/>
464- < div class ="collapse-content pcssc-invisible ">
465- Pooka pooka!
462+ < div class ="pcssc-collapse ">
463+ < label for ="collapse-toggle " class ="collapse-button pure-button " aria-label ="Toggle ">
464+ < span > Toggle</ span >
465+ </ label >
466+ < input type ="checkbox " id ="collapse-toggle " class ="collapse-toggle pcssc-invisible "/>
467+ < div class ="collapse-content pcssc-invisible ">
468+ Pooka pooka!
469+ </ div >
466470 </ div >
467471
468472
469- < div style ="background: #ffffff; margin-top: 50px; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em; "> < pre
470- style ="margin: 0; line-height: 125% ">
471- <label for=< span style ="color: #a31515 "> "collapse-toggle"</ span > class=< span style ="color: #a31515 "> "collapse-button pure-button"</ span > aria-label=< span
472- style ="color: #a31515 "> "Toggle"</ span > >
473- <span>Toggle</span>
474- </label>
475- <input type=< span style ="color: #a31515 "> "checkbox"</ span > id=< span style ="color: #a31515 "> "collapse-toggle"</ span > class=< span
476- style ="color: #a31515 "> "collapse-toggle pcssc-invisible"</ span > />
477- <div class=< span style ="color: #a31515 "> "collapse-content pcssc-invisible"</ span > >
478- Pooka pooka!
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% ">
474+ <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 > >
476+ <span>Toggle</span>
477+ </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 > />
479+ <div class=< span style ="color: #a31515 "> "collapse-content pcssc-invisible"</ span > >
480+ Pooka pooka!
481+ </div>
479482</div>
480- </ pre >
481- </ div >
483+ </ pre > </ div >
484+
482485
483486
484487 < h3 > Toggling Button Label Collapse</ h3 >
485488
486- < div class ="collapse-toggle-button ">
489+ < div class ="pcssc-collapse collapse-toggle-button ">
487490 < input type ="checkbox " id ="collapse-toggle-button " class ="collapse-toggle pcssc-invisible "/>
488491 < label for ="collapse-toggle-button " class ="collapse-button pure-button " aria-label ="Toggle ">
489492 < span class ="collapse-button-label "> Open</ span >
@@ -496,7 +499,7 @@ <h3>Toggling Button Label Collapse</h3>
496499
497500 < div style ="background: #ffffff; margin-top: 50px;overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em; "> < pre
498501 style ="margin: 0; line-height: 125% ">
499- <div class=< span style ="color: #a31515 "> "collapse-toggle-button"</ span > >
502+ <div class=< span style ="color: #a31515 "> "pcssc-collapse collapse-toggle-button"</ span > >
500503 <input type=< span style ="color: #a31515 "> "checkbox"</ span > id=< span style ="color: #a31515 "> "collapse-toggle-button"</ span > class=< span
501504 style ="color: #a31515 "> "collapse-toggle pcssc-invisible"</ span > />
502505 <label for=< span style ="color: #a31515 "> "collapse-toggle-button"</ span > class=< span
@@ -551,12 +554,15 @@ <h2 class="content-subhead">Collapsing Menu</h2>
551554
552555 < p >
553556 The menu on the left side of this page is an example of a left-side collapsing menu. The
554- collapsing menu builds off of the < a href ="#dropdown "> < strong > dropdown</ strong > </ a > component, and
555- Pure CSS' vertical < a href ="https://purecss.io/menus/ "> < strong > menu</ strong > </ a > . As a stand-alone module, the collapsing
557+ collapsing menu builds off of the < a href ="#dropdown "> < strong > dropdown</ strong > </ a > component,
558+ and
559+ Pure CSS' vertical < a href ="https://purecss.io/menus/ "> < strong > menu</ strong > </ a > . As a
560+ stand-alone module, the collapsing
556561 menu requires both < strong > dropdown.css</ strong > and < strong > menu.css</ strong > .
557562 </ p >
558563
559- < div style ="background: #ffffff; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em; "> < pre style ="margin: 0; line-height: 125% ">
564+ < div style ="background: #ffffff; overflow:auto;width:auto;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em; "> < pre
565+ style ="margin: 0; line-height: 125% ">
560566<div class=< span style ="color: #a31515 "> "pcssc-collapsing-menu pcssc-menu-left"</ span > >
561567 <a class=< span style ="color: #a31515 "> "pure-menu-heading"</ span > href=< span style ="color: #a31515 "> "#top"</ span > >Pure
562568 <div class=< span style ="color: #a31515 "> "small-caps"</ span > >components</div>
@@ -576,8 +582,8 @@ <h2 class="content-subhead">Collapsing Menu</h2>
576582 </li>
577583 </ul>
578584</div>
579- </ pre > </ div >
580-
585+ </ pre >
586+ </ div >
581587
582588
583589 </ div >
0 commit comments