forked from AmanSingour/Bootstrap-Tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path13 Justified Button Group.html
47 lines (40 loc) · 1.58 KB
/
13 Justified Button Group.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Bootstrap</title>
<!-- Bootstrap CDN -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<!-- jQuery lib -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<br>
<div class="container">
<h4>Justified Buttons Group</h4>
<!-- Justified Button Using Link Element -->
<div class="btn-group btn-group-justified">
<a href="#" class="btn btn-primary active">Home</a>
<a href="#" class="btn btn-primary">Contact Us</a>
<a href="#" class="btn btn-primary">About Us</a>
</div>
<hr>
<!-- Justified Button Using Button Element -->
<div class="btn-group btn-group-justified">
<div class="btn-group">
<button type="button" class="btn btn-info">Home</button>
</div>
<div class="btn-group">
<button type="button" class="btn btn-info active">Contact Us</button>
</div>
<div class="btn-group">
<button type="button" class="btn btn-info">About Us</button>
</div>
</div>
</div>
</body>
</html>