nav
abbr.navigate sailing; navigation sailing; navigational sailing; navigable navigable
pills
n. Pills; pills (plural form of pill); oral contraceptive pills; nuisance
stacked
UK[stækt] 美[stækt]
v. Stack (past tense and past participle of stack)
Bootstrap nav nav-pills nav-stacked样式 syntax
Function: Capsule tabs are arranged vertically stacked
Bootstrap nav nav-pills nav-stacked样式 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>标签页</h2> <p>.nav-stacked 类用于创建以垂直方向堆叠排列的胶囊式标签页:</p> <ul class="nav nav-pills nav-stacked" role="tablist"> <li class="active"><a href="#">Home</a></li> <li><a href="#">HTML</a></li> <li><a href="#">CSS</a></li> <li><a href="#">About</a></li> </ul> </div> </body> </html>
Click the "Run instance" button to view the online instance