这是此模板中可用的简码示例。
图标
兼容 Font Awesome ver6.1.0
<ul class="icons-list"> <li> <a href="#"><i class="fa-brands fa-apple"><span class="sr-only">apple</span></i></a> </li> <li> <a href="#"><i class="fa-brands fa-android"><span class="sr-only">android</span></i></a> </li> <li> <a href="#"><i class="fa-brands fa-github"><span class="sr-only">github</span></i></a> </li> <li> <a href="#"><i class="fa-brands fa-windows"><span class="sr-only">windows</span></i></a> </li> <li> <a href="#"><i class="fa-brands fa-linux"><span class="sr-only">linux</span></i></a> </li> <li> <a href="#"><i class="fa-brands fa-skype"><span class="sr-only">skype</span></i></a> </li> <li> <a href="#"><i class="fa-brands fa-btc"><span class="sr-only">btc</span></i></a> </li> <li> <a href="#"><i class="fa-brands fa-css3"><span class="sr-only">css3</span></i></a> </li> <li> <a href="#"><i class="fa-brands fa-html5"><span class="sr-only">html5</span></i></a> </li> <li> <a href="#"><i class="fa-brands fa-bitbucket"><span class="sr-only">bitbucket</span></i></a> </li> <li> <a href="#"><i class="fa-brands fa-maxcdn"><span class="sr-only">maxcdn</span></i></a> </li> <li> <a href="#"><i class="fa-brands fa-dropbox"><span class="sr-only">dropbox</span></i></a> </li> <li> <a href="#"><i class="fa-brands fa-facebook"><span class="sr-only">facebook</span></i></a> </li> <li> <a href="#"><i class="fa-brands fa-twitter"><span class="sr-only">twitter</span></i></a> </li> </ul>
选项卡
Home ipsum dolor sit amet, consectetur adipisicing elit. Perspiciatis, exercitationem, quaerat veniam repudiandae illo ratione eaque omnis obcaecati quidem distinctio sapiente quo assumenda amet cumque nobis nulla qui dolore autem.
Profile ipsum dolor sit amet, consectetur adipisicing elit. Ut odio facere minima porro quis. Maiores eius quibusdam et in corrupti necessitatibus consequatur debitis laudantium hic.
Messages ipsum dolor sit amet, consectetur adipisicing elit. Reiciendis, optio error consectetur ullam porro eligendi mollitia odio numquam aut cumque. Sed, possimus recusandae itaque laboriosam nesciunt voluptates veniam aspernatur voluptate eaque ratione totam ipsa optio aliquam incidunt dolorum amet illum.
<div role="tabpanel"> <!-- Nav tabs --> <ul class="nav nav-tabs" role="tablist"> <li role="presentation" class="active"> <a href="#home" aria-controls="home" role="tab" data-toggle="tab">Home</a> </li> <li role="presentation"> <a href="#profile" aria-controls="profile" role="tab" data-toggle="tab">Profile</a> </li> <li role="presentation"> <a href="#messages" aria-controls="messages" role="tab" data-toggle="tab">Messages</a> </li> </ul> <!-- Tab panes --> <div class="tab-content"> <div role="tabpanel" class="tab-pane fade in active" id="home"> <p><strong>Home</strong> ipsum dolor sit amet, consectetur adipisicing elit. Perspiciatis, exercitationem, quaerat veniam repudiandae illo ratione eaque omnis obcaecati quidem distinctio sapiente quo assumenda amet cumque nobis nulla qui dolore autem.</p> </div> <div role="tabpanel" class="tab-pane fade" id="profile"> <p><strong>Profile</strong> ipsum dolor sit amet, consectetur adipisicing elit. Ut odio facere minima porro quis. Maiores eius quibusdam et in corrupti necessitatibus consequatur debitis laudantium hic.</p> </div> <div role="tabpanel" class="tab-pane fade" id="messages"> <p><strong>Messages</strong> ipsum dolor sit amet, consectetur adipisicing elit. Reiciendis, optio error consectetur ullam porro eligendi mollitia odio numquam aut cumque. Sed, possimus recusandae itaque laboriosam nesciunt voluptates veniam aspernatur voluptate eaque ratione totam ipsa optio aliquam incidunt dolorum amet illum.</p> </div> </div> </div>
手风琴
<div class="panel-group" id="accordion-example" role="tablist" aria-multiselectable="true"> <div class="panel panel-default"> <div class="panel-heading" role="tab" id="headingOne"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion-example" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne"> <i class="fa fa-home"><span class="sr-only">home</span></i> Home </a> </h4> </div> <div id="collapseOne" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne"> <div class="panel-body">...</div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" role="tab" id="headingTwo"> <h4 class="panel-title"> <a class="collapsed" data-toggle="collapse" data-parent="#accordion-example" href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo"> <i class="fa fa-cog"><span class="sr-only">configuration</span></i> Configure </a> </h4> </div> <div id="collapseTwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo"> <div class="panel-body">...</div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" role="tab" id="headingThree"> <h4 class="panel-title"> <a class="collapsed" data-toggle="collapse" data-parent="#accordion-example" href="#collapseThree" aria-expanded="false" aria-controls="collapseThree"> <i class="fa fa-cloud-download"><span class="sr-only">cloud download</span></i> Download </a> </h4> </div> <div id="collapseThree" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingThree"> <div class="panel-body">...</div> </div> </div> </div>
按钮
<a href="#" class="button">Read more</a>