43
43
< li class ="pure-menu-item ">
44
44
< a href ="#dropdown " class ="pure-menu-link "> Dropdown</ a >
45
45
</ li >
46
+ < li class ="pure-menu-item ">
47
+ < a href ="#menu " class ="pure-menu-link "> Menu</ a >
48
+ </ li >
46
49
< li class ="pure-menu-item ">
47
50
< a href ="#modal " class ="pure-menu-link "> Modal</ a >
48
51
</ li >
@@ -83,8 +86,7 @@ <h2 class="content-subhead">Pure CSS</h2>
83
86
84
87
< p >
85
88
< a href ="https://purecss.io/ "> Pure CSS</ a > is a great set of small, responsive CSS modules. As
86
- their docs say, it is tiny.
87
- The entire set of modules is only 3.8KB* (minified and gzipped).
89
+ their docs say, it is tiny. The entire set of modules is only 3.8KB* (minified and gzipped).
88
90
</ p >
89
91
< p >
90
92
Pure CSS is responsive out of the box.
@@ -101,9 +103,9 @@ <h2 class="content-subhead">Pure CSS</h2>
101
103
</ p >
102
104
< h2 class ="content-subhead "> Pure CSS Components< a class ="content-link "> </ a > </ h2 >
103
105
< p >
104
- Pure CSS doesn't have any components, so I wrote some. My goal is to get parity with
105
- Bootstrap's menu of components. Please note, this is still a work in
106
- progress. The usual cautions apply.
106
+ 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
108
+ progress. The usual cautions apply</ em > .
107
109
</ p >
108
110
< p >
109
111
Like Pure CSS, Pure.CSS Components is very small. It is only 2KB* (minified and zipped). Each
@@ -541,6 +543,43 @@ <h2 class="content-subhead">Dropdown</h2>
541
543
</ div >
542
544
543
545
546
+ </ div >
547
+
548
+ < div class ="content menu-content ">
549
+ < a name ="menu "> </ a >
550
+ < h2 class ="content-subhead "> Collapsing Menu</ h2 >
551
+
552
+ < p >
553
+ 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' < strong > menu</ strong > . As a stand-alone module, the collapsing
556
+ menu requires both < strong > dropdown.css</ strong > and < strong > menu.css</ strong > .
557
+ </ p >
558
+
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% ">
560
+ <div class=< span style ="color: #a31515 "> "pcssc-collapsing-menu pcssc-menu-left"</ span > >
561
+ <a class=< span style ="color: #a31515 "> "pure-menu-heading"</ span > href=< span style ="color: #a31515 "> "#top"</ span > >Pure
562
+ <div class=< span style ="color: #a31515 "> "small-caps"</ span > >components</div>
563
+ </a>
564
+ <div tabindex=< span style ="color: #a31515 "> "0"</ span > class=< span style ="color: #a31515 "> "menu-link dropdown"</ span > >
565
+ <span></span>
566
+ </div>
567
+ <ul class=< span style ="color: #a31515 "> "dropdown-content pure-menu-list pure-menu"</ span > >
568
+ <li class=< span style ="color: #a31515 "> "pure-menu-item"</ span > >
569
+ <a href=< span style ="color: #a31515 "> "#installation"</ span > class=< span style ="color: #a31515 "> "pure-menu-link"</ span > >Installation</a>
570
+ </li>
571
+ <li class=< span style ="color: #a31515 "> "pure-menu-item menu-item-divided"</ span > >
572
+ <a href=< span style ="color: #a31515 "> "#accordion"</ span > class=< span style ="color: #a31515 "> "pure-menu-link"</ span > >Accordion</a>
573
+ </li>
574
+ <li class=< span style ="color: #a31515 "> "pure-menu-item"</ span > >
575
+ <a href=< span style ="color: #a31515 "> "#alert"</ span > class=< span style ="color: #a31515 "> "pure-menu-link"</ span > >Alert</a>
576
+ </li>
577
+ </ul>
578
+ </div>
579
+ </ pre > </ div >
580
+
581
+
582
+
544
583
</ div >
545
584
546
585
< div class ="content modal-content ">
0 commit comments