-
Notifications
You must be signed in to change notification settings - Fork 4
/
dropdowns-drop-position.html
67 lines (62 loc) · 3.03 KB
/
dropdowns-drop-position.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html lang="pt-br">
<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 Hcode</title>
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/style.css">
</head>
<body>
<div class="container">
<div class="dropdown dropup">
<button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown" id="menu" aria-haspopup="true" aria-expanded="false">Menu</button>
<div class="dropdown-menu" aria-labelledby="menu">
<a href="#" class="dropdown-item">Item 1</a>
<a href="#" class="dropdown-item">Item 2</a>
<a href="#" class="dropdown-item">Item 3</a>
</div>
</div>
<hr>
<div class="dropdown dropup">
<button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown" id="menu" aria-haspopup="true" aria-expanded="false">Menu</button>
<div class="dropdown-menu" aria-labelledby="menu">
<a href="#" class="dropdown-item">Item 1</a>
<a href="#" class="dropdown-item">Item 2</a>
<a href="#" class="dropdown-item">Item 3</a>
</div>
</div>
<hr>
<div class="dropdown dropup">
<button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown" id="menu" aria-haspopup="true" aria-expanded="false">Menu</button>
<div class="dropdown-menu" aria-labelledby="menu">
<a href="#" class="dropdown-item">Item 1</a>
<a href="#" class="dropdown-item">Item 2</a>
<a href="#" class="dropdown-item">Item 3</a>
</div>
</div>
<hr>
<div class="dropdown dropright">
<button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown" id="menu" aria-haspopup="true" aria-expanded="false">Menu</button>
<div class="dropdown-menu" aria-labelledby="menu">
<a href="#" class="dropdown-item">Item 1</a>
<a href="#" class="dropdown-item">Item 2</a>
<a href="#" class="dropdown-item">Item 3</a>
</div>
</div>
<hr>
<div class="dropdown dropleft">
<button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown" id="menu" aria-haspopup="true" aria-expanded="false">Menu</button>
<div class="dropdown-menu" aria-labelledby="menu">
<a href="#" class="dropdown-item">Item 1</a>
<a href="#" class="dropdown-item">Item 2</a>
<a href="#" class="dropdown-item">Item 3</a>
</div>
</div>
<hr>
</div>
<script src="node_modules/jquery/dist/jquery.min.js"></script>
<script src="node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>