diff options
Merge pull request #287 from picturepan2/0.4.2 v0.4.2
0.4.2
1 files changed, 81 insertions, 0 deletions
| -rw-r--r-- | docs/experimentals.html | 81 |
diff --git a/docs/experimentals.html b/docs/experimentals.html index 8c16bfc..aeb8e83 100644 --- a/docs/experimentals.html +++ b/docs/experimentals.html @@ -229,6 +229,9 @@ <a href="experimentals.html#meters">Meters</a> </li> <li class="menu-item"> + <a href="experimentals.html#off-canvas">Off-canvas</a> + </li> + <li class="menu-item"> <a href="experimentals.html#parallax">Parallax</a> </li> <li class="menu-item"> @@ -267,6 +270,32 @@ </div> </div> + <div class="container"> + <div class="docs-ad"> + <div class="hide-md"> + <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> + <!-- GitHub-lg --> + <ins class="adsbygoogle" + style="display:inline-block;width:728px;height:90px" + data-ad-client="ca-pub-2225124559530218" + data-ad-slot="9894180784"></ins> + <script> + (adsbygoogle = window.adsbygoogle || []).push({}); + </script> + </div> + <div class="show-md"> + <!-- GitHub-sm --> + <ins class="adsbygoogle" + style="display:inline-block;width:300px;height:250px" + data-ad-client="ca-pub-2225124559530218" + data-ad-slot="9278881734"></ins> + <script> + (adsbygoogle = window.adsbygoogle || []).push({}); + </script> + </div> + </div> + </div> + <div id="calendars" class="container"> <h3 class="s-title"><a href="#calendars" class="anchor" aria-hidden="true">#</a>Calendars</h3> <div class="docs-note"> @@ -717,6 +746,58 @@ </div> + <div id="off-canvas" class="container"> + <h3 class="s-title"><a href="#off-canvas" class="anchor" aria-hidden="true">#</a>Off-canvas</h3> + <div class="docs-note"> + <p>The Off-canvas is a navigation layout that the sidebar can slide in and out of the viewport. It is built in pure CSS. </p> + <p>By default, the off-canvas menu is collapsed when the window width is smaller than or equal to <strong>960px</strong>.</p> + </div> + <div class="columns"> + <div class="column"> + <div class="off-canvas"> + <input type="checkbox" class="off-canvas-checkbox" id="sidebar-checkbox" name="sidebar-checkbox" hidden> + <label class="off-canvas-toggle btn btn-primary btn-lg" for="sidebar-checkbox"> + <i class="icon icon-menu"></i> + </label> + <div class="off-canvas-sidebar flex-centered"> + <span>Sidebar</span> + </div> + <div class="off-canvas-content"> + <div class="content"> + <h4>Lorem ipsum</h4> + <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent risus leo, dictum in vehicula sit amet, feugiat tempus tellus. Duis quis sodales risus. Etiam euismod ornare consequat.</p> + <p>Climb leg rub face on everything give attitude nap all day for under the bed. Chase mice attack feet but rub face on everything hopped up on goofballs.</p> + <h4>Cupcake ipsum</h4> + <p>Jelly-o sesame snaps halvah croissant oat cake cookie. Cheesecake bear claw topping. Chupa chups apple pie carrot cake chocolate cake caramels.</p> + <p>De braaaiiiins apocalypsi gorger omero prefrontal cortex undead survivor fornix dictum mauris. Hi brains mindless mortuis limbic cortex soulless creaturas optic nerve.</p> + <h4>Candy ipsum</h4> + <p>Efficiently unleash cross-media information without cross-media value. Quickly maximize timely deliverables for real-time schemas. Dramatically maintain clicks-and-mortar.</p> + <p>Caerphilly swiss fromage frais. Brie cheese and wine fromage frais chalk and cheese danish fontina smelly cheese who moved my cheese cow.</p> + </div> + </div> + </div> + </div> + </div> + +<!-- off-canvas --> +<pre class="code" data-lang="HTML"><code><<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"off-canvas"</span>> + <<span class="tag">input</span> <span class="atn">type</span>=<span class="atv">"checkbox"</span> <span class="atn">class</span>=<span class="atv">"off-canvas-checkbox"</span> <span class="atn">id</span>=<span class="atv">"sidebar-checkbox"</span> <span class="atn">name</span>=<span class="atv">"sidebar-checkbox"</span> <span class="atn">hidden</span>> + <span class="com"><!-- off-screen toggle button and close mask --></span> + <<span class="tag">label</span> <span class="atn">class</span>=<span class="atv">"off-canvas-toggle btn btn-primary btn-lg"</span> <span class="atn">for</span>=<span class="atv">"sidebar-checkbox"</span>> + <<span class="tag">i</span> <span class="atn">class</span>=<span class="atv">"icon icon-menu"</span>><<span class="tag">/i</span>> + <<span class="tag">/label</span>> + + <<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"off-canvas-sidebar"</span>> + <span class="com"><!-- off-screen sidebar --></span> + <<span class="tag">/div</span>> + <<span class="tag">div</span> <span class="atn">class</span>=<span class="atv">"off-canvas-body"</span>> + <span class="com"><!-- off-screen content --></span> + <<span class="tag">/div</span>> +<<span class="tag">/div</span>> +</code></pre> + + </div> + <div id="parallax" class="container"> <h3 class="s-title"><a href="#parallax" class="anchor" aria-hidden="true">#</a>Parallax</h3> <div class="docs-note"> |