tab

UK[t?b] 美[t?b]

n.Bill; (can) pull tab; label, tabulation

vt.<口>Monitor; label; install with a pendant

abbr.(=Technical Assistance Board (of the United Nations)) (United Nations) Technical Assistance Board

pane

英[pe?n] 美[pen]

n.pane; square frame; window glass; panel

vt. Window glass is made of; panel is made of; small pieces of dyed cloth are used to make (clothes)

Bootstrap tab-pane style syntax

Function: Used together with .tab-content and data-toggle="tab" (data-toggle="pill") to set the content corresponding to the tab page to change as the tab is switched

Bootstrap tab-pane style example

<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
    <title>Bootstrap 實例 - 標簽頁與膠囊式標簽頁</title>
	<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css">
	<script src="https://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script>
	<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
  <h2>動態(tài)標簽</h2>
  <p><strong>提示:</strong> 與 .tab-pane 和 data-toggle="tab" (data-toggle="pill" ) 一同使用, 設置標簽頁對應的內(nèi)容隨標簽的切換而更改。</p>
  <ul class="nav nav-tabs">
    <li class="active"><a data-toggle="tab" href="#home">首頁</a></li>
    <li><a data-toggle="tab" href="#menu1">菜單 1</a></li>
    <li><a data-toggle="tab" href="#menu2">菜單 2</a></li>
    <li><a data-toggle="tab" href="#menu3">菜單 3</a></li>
  </ul>
  <div class="tab-content">
    <div id="home" class="tab-pane fade in active">
      <h3>首頁</h3>
      <p>菜鳥教程 —— 學的不僅是技術(shù),更是夢想?。?!</p>
    </div>
    <div id="menu1" class="tab-pane fade">
      <h3>菜單 1</h3>
      <p>這是菜單 1 顯示的內(nèi)容。這是菜單 1 顯示的內(nèi)容。這是菜單 1 顯示的內(nèi)容。</p>
    </div>
    <div id="menu2" class="tab-pane fade">
      <h3>菜單 2</h3>
      <p>這是菜單 2 顯示的內(nèi)容。這是菜單 2 顯示的內(nèi)容。這是菜單 2 顯示的內(nèi)容。</p>
    </div>
    <div id="menu3" class="tab-pane fade">
      <h3>菜單 3</h3>
      <p>這是菜單 3 顯示的內(nèi)容。這是菜單 3 顯示的內(nèi)容。這是菜單 3 顯示的內(nèi)容。</p>
    </div>
  </div>
</div>
</body>
</html>
Run instance ?

Click the "Run instance" button to view the online instance