Tab选项卡

基于Bootstrap的超酷Tabs选项卡UI设计

阿里云

这是 3 种基于 Bootstrap 的超酷 tabs 选项卡 UI 设计效果。这 3 款选项卡都是使用原生的 Bootstrap 网格系统和 Tabs 组件来制作,通过自定义 CSS 样式来生成不同的选项卡效果。下面是每一种选项卡的 HTML 结构和它们对应的效果演示图。

选项卡 1:

  1. <div class="container">
  2.     <div class="row text-center">
  3.         <h1 class="white">Tab选项卡-1</h1>
  4.     </div>
  5.     <div class="row">
  6.         <div class="col-md-offset-2 col-md-8 mt30">
  7.             <div class="tab" role="tabpanel">
  8.                 <!-- 选项卡的分页导航 -->
  9.                 <ul class="nav nav-tabs" role="tablist">
  10.                     <li role="presentation" class="active"><a href="#Section1" aria-controls="home" role="tab" data-toggle="tab">Section 1</a></li>
  11.                     <li role="presentation"><a href="#Section2" aria-controls="profile" role="tab" data-toggle="tab">Section 2</a></li>
  12.                     <li role="presentation"><a href="#Section3" aria-controls="messages" role="tab" data-toggle="tab">Section 3</a></li>
  13.                     <li role="presentation"><a href="#Section4" aria-controls="settings" role="tab" data-toggle="tab">Section 4</a></li>
  14.                 </ul>
  15.                 <!-- 选项卡Tab内容 -->
  16.                 <div class="tab-content">
  17.                     <div role="tabpanel" class="tab-pane active" id="Section1">
  18.                         <h3>Section 1</h3>
  19.                         <p>
  20.                             ......
  21.                         </p>
  22.                     </div>
  23.                     <div role="tabpanel" class="tab-pane" id="Section2">
  24.                         <h3>Section 2</h3>
  25.                         <p>
  26.                             ......
  27.                         </p>
  28.                     </div>
  29.                     <div role="tabpanel" class="tab-pane" id="Section3">
  30.                         <h3>Section 3</h3>
  31.                         <p>
  32.                             ......
  33.                         </p>
  34.                     </div>
  35.                     <div role="tabpanel" class="tab-pane" id="Section4">
  36.                         <h3>Section 4</h3>
  37.                         <p>
  38.                             .......
  39.                         </p>
  40.                     </div>
  41.                 </div>
  42.             </div>
  43.         </div>
  44.     </div>
  45. </div>
也想出现在这里?联系我们
创客主机

选项卡 2:

  1. <div class="container">
  2.     <div class="row text-center">
  3.         <h1 class="white">Tab选项卡-2</h1>
  4.     </div>
  5.  
  6.     <div class="row">
  7.         <div class="col-md-offset-3 col-md-6">
  8.             <div class="tab" role="tabpanel">
  9.                 <!-- Nav tabs -->
  10.                 <ul class="nav nav-tabs" role="tablist">
  11.                     <li role="presentation" class="active">
  12.                     <a href="#Section1" aria-controls="home" role="tab" data-toggle="tab"><i class="fa fa-envelope-o"></i>Section 1</a>
  13.                     </li>
  14.                     <li role="presentation">
  15.                     <a href="#Section2" aria-controls="profile" role="tab" data-toggle="tab"><i class="fa fa-cubes"></i>Section 2</a>
  16.                     </li>
  17.                     <li role="presentation">
  18.                     <a href="#Section3" aria-controls="messages" role="tab" data-toggle="tab"><i class="fa fa-comments"></i>Section 3</a>
  19.                     </li>
  20.                 </ul>
  21.                 <!-- Tab panes -->
  22.                 <div class="tab-content">
  23.                     <div role="tabpanel" class="tab-pane fade in active" id="Section1">
  24.                         <p>......</p>
  25.                     </div>
  26.                     <div role="tabpanel" class="tab-pane fade" id="Section2">
  27.                         <p>......</p>
  28.                     </div>
  29.                     <div role="tabpanel" class="tab-pane fade" id="Section3">
  30.                         <p>...... </p>
  31.                     </div>
  32.                 </div>
  33.             </div>
  34.         </div>
  35.     </div>
  36. </div>

选项卡 3:

  1. <div class="container">
  2.     <div class="row text-center">
  3.         <h1 class="white">Tab选项卡-3</h1>
  4.     </div>
  5.  
  6.     <div class="row">
  7.         <div class="col-md-offset-2 col-md-8">
  8.             <div class="tab" role="tabpanel">
  9.                 <!-- Nav tabs -->
  10.                 <ul class="nav nav-tabs" role="tablist">
  11.                     <li role="presentation" class="active">
  12.                     <a href="#Section1" aria-controls="home" role="tab" data-toggle="tab"><i class="fa fa-envelope-o"></i>Section 1</a>
  13.                     </li>
  14.                     <li role="presentation">
  15.                     <a href="#Section2" aria-controls="profile" role="tab" data-toggle="tab"><i class="fa fa-cube"></i>Section 2</a>
  16.                     </li>
  17.                     <li role="presentation">
  18.                     <a href="#Section3" aria-controls="settings" role="tab" data-toggle="tab"><i class="fa fa-comment"></i>Section 3</a>
  19.                     </li>
  20.                 </ul>
  21.                 <!-- Tab panes -->
  22.                 <div class="tab-content">
  23.                     <div role="tabpanel" class="tab-pane fade in active" id="Section1">
  24.                         <h3>Section 1</h3>
  25.                         <p>
  26.                            ......
  27.                         </p>
  28.                     </div>
  29.  
  30.                     <div role="tabpanel" class="tab-pane fade" id="Section2">
  31.                         <h3>Section 2</h3>
  32.                         <p>
  33.                             ......
  34.                         </p>
  35.                     </div>
  36.  
  37.                     <div role="tabpanel" class="tab-pane fade" id="Section3">
  38.                         <h3>Section 3</h3>
  39.                         <p>
  40.                             ......
  41.                         </p>
  42.                     </div>
  43.                 </div>
  44.             </div>
  45.         </div>
  46.     </div>
  47. </div>

基于 Bootstrap 的超酷 Tabs 选项卡 UI 设计

已有 501 人购买
查看演示升级 VIP立刻购买

演示地址 下载地址
收藏
(0)

发表回复

热销模板

Ashade - 作品展示摄影相册WordPress汉化主题
LensNews

本站承接 WordPress / PbootCMS / DedeCMS 等
系统建站、仿站、开发、定制等业务!