纯CSS手风琴菜单
XML/HTML Code
- <div class="wrapper">
- <ui class="mainMenu">
- <li class="item" id="account">
- <a href="#account" class="btn"><i class="fas fa-user-circle"></i>我的帐户</a>
- <div class="subMenu">
- <a href="">item-1</a>
- <a href="">item-2</a>
- <a href="">item-3</a>
- </div>
- </li>
- <li class="item" id="about">
- <a href="#about" class="btn"><i class="fas fa-address-card"></i>关于我们</a>
- <div class="subMenu">
- <a href="">item-1</a>
- <a href="">item-2</a>
- </div>
- </li>
- <li class="item" id="support">
- <a href="#support" class="btn"><i class="fas fa-info"></i>技术支持</a>
- <div class="subMenu">
- <a href="">item-1</a>
- </div>
- </li>
- <li class="item">
- <a href="#" class="btn"><i class="fas fa-sign-out-alt"></i>退出登录</a>
- </li>
- </ui>
- </div>
原文地址:http://www.freejs.net/article_daohangcaidan_745.html