适合移动手机的侧边栏滑动代码
XML/HTML Code
- <nav id="menu" class="menu slideout-menu">
- <a href="http://www.freejs.net/">
- <header class="menu-header">
- <span class="menu-header-title">freejs</span>
- </header>
- </a>
- <section class="menu-section">
- <h3 class="menu-section-title">导航菜单</h3>
- <ul class="menu-section-list">
- <li><a href="https://www.freejs.net/#">jQuery</a></li>
- <li><a href="https://www.freejs.net/#">CSS3</a></li>
- <li><a href="https://www.freejs.net/#">HTML5</a></li>
- <li><a href="https://www.freejs.net/#">动画效果</a></li>
- </ul>
- </section>
- <section class="menu-section">
- <h3 class="menu-section-title">flash动画</h3>
- <ul class="menu-section-list">
- <li><a href="https://www.freejs.net/#">节日动画</a></li>
- <li><a href="https://www.freejs.net/#">flash植物</a></li>
- <li><a href="https://www.freejs.net/#">flash动物</a></li>
- </ul>
- </section>
- <section class="menu-section">
- <h3 class="menu-section-title">音效下载</h3>
- <ul class="menu-section-list">
- <li><a href="https://www.freejs.net/#">鸟叫声</a></li>
- <li><a href="https://www.freejs.net/#">狗叫声</a></li>
- </ul>
- </section>
- </nav>
- <main id="main" class="panel slideout-panel" style="">
- <button class="btn-hamburger js-slideout-toggle">
- <span class="tooltip">点击打开</span>
- </button>
- </main>
原文地址:http://www.freejs.net/article_daohangcaidan_899.html