nav
abbr.navigate 航行;navigation 航行;navigational 航行的;navigable 可航行的
pills
n.藥片;藥丸( pill的名詞複數);口服避孕藥;討厭鬼
Bootstrap nav nav-pills樣式 語法
作用:膠囊式標籤頁
Bootstrap nav nav-pills樣式 範例
<!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-pills 用于创建胶囊式标签页:</p> <ul class="nav nav-pills" 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>
#點擊 "執行實例" 按鈕查看線上實例