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
content
UK['k?ntent] US[?kɑ:ntent]
n. Content; content; directory (of books, etc.); capacity
adj. Satisfied, satisfied; willing; willing
vt. To satisfy, to satisfy
Bootstrap tab-content style syntax
Function: Used together with .tab-pane 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-content style example
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Bootstrap 實(shí)例 - 標(biāo)簽頁與膠囊式標(biāo)簽頁</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>動(dòng)態(tài)標(biāo)簽</h2> <p><strong>提示:</strong> 與 .tab-pane 和 data-toggle="tab" (data-toggle="pill" ) 一同使用, 設(shè)置標(biāo)簽頁對應(yīng)的內(nèi)容隨標(biāo)簽的切換而更改。</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>菜鳥教程 —— 學(xué)的不僅是技術(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>
Click the "Run instance" button to view the online instance