侧边栏手风琴式折叠菜单
XML/HTML Code
- <div class="container">
- <div class="main_wrapper">
- <div class="sidebar">
- <ul class="menu">
- <li class="menu_item menu_show">
- <a>
- <i class="tri_icon"></i>
- <h2>HTML</h2>
- </a>
- <ul class="menu_item_child">
- <li>
- <a title="HTML5">
- <span>HTML5</span>
- </a>
- </li>
- </ul>
- </li>
- <li class="menu_item">
- <a>
- <i class="tri_icon"></i>
- <h2>JavaScript</h2>
- </a>
- <ul class="menu_item_child">
- <li>
- <a>
- <span>AngularJS</span>
- </a>
- </li>
- <li>
- <a>
- <span>jQuery</span>
- </a>
- </li>
- <li>
- <a>
- <span>ReactJS</span>
- </a>
- </li>
- <li>
- <a>
- <span>VueJS</span>
- </a>
- </li>
- </ul>
- </li>
- <li class="menu_item">
- <a>
- <i class="tri_icon"></i>
- <h2>CSS</h2>
- </a>
- <ul class="menu_item_child">
- <li>
- <a>
- <span>CSS3</span>
- </a>
- </li>
- </ul>
- </li>
- </ul>
- </div>
- <div class="breadcrumb">
- <a>jQueryScript.Net</a>
- <span class="split"> / </span>
- <a>HTML</a>
- <span class="split last"> / </span>
- <a>HTML5</a>
- </div>
- <div class="main_con">
- <ul class="main_con_ul">
- <li class="main_con_item">
- <ul>
- <li class="check">
- <h2 class="title">HTML5</h2>
- <div class="con">
- <p>HTML5 is the latest evolution of the standard that defines HTML. The term represents two different concepts.</p>
- <p> It is a new version of the language HTML, with new elements, attributes, and behaviors, and a larger set of technologies that allows the building of more diverse and powerful Web sites and applications.</p>
- </div>
- </li>
- </ul>
- </li>
- <li class="main_con_item">
- <ul>
- <li>
- <h2 class="title">Angular</h2>
- <div class="con">
- <p>AngularJS is a JavaScript-based open-source front-end web framework mainly maintained by Google and by a community of individuals and corporations to address many of the challenges encountered in developing single-page applications. </p>
- </div>
- </li>
- <li>
- <h2 class="title">jQuery</h2>
- <div class="con">
- <p>jQuery</p>
- </div>
- </li>
- <li>
- <h2 class="title">ReactJS</h2>
- <div class="con">
- <p>React + React Native</p>
- </div>
- </li>
- <li>
- <h2 class="title">VueJS</h2>
- <div class="con">
- <p>Vue.js</p>
- </div>
- </li>
- </ul>
- </li>
- <li class="main_con_item">
- <ul>
- <li>
- <h2 class="title">CSS3</h2>
- <div class="con">
- <p>CSS3</p>
- </div>
- </li>
- </ul>
- </li>
- </ul>
- </div>
- </div>
- </div>
原文地址:http://www.freejs.net/article_daohangcaidan_825.html