Posts

Showing posts with the label pills

Bootstrap Tabs and pills

Image
Tabs are created with <ul class="nav nav-tabs">: Tip: Also mark the current page with <li class="active">. Pills are created with <ul class="nav nav-pills">. Also mark the current page with <li class="active"> <!DOCTYPE html> <html lang="en"> <head>   <title>Bootstrap Case</title>   <meta charset="utf-8">   <meta name="viewport" content="width=device-width, initial-scale=1">   <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">   <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>   <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script> </head> <body> <div class="container">   <h3>Centered Tabs...