-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
49 lines (44 loc) · 1.27 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Burger menu</title>
<link rel="stylesheet" href="index.css">
<script src="index.js"></script>
<script src='components/burger.js'></script>
<script src='components/burger_with_dropdown.js'></script>
</head>
<body>
<section>
<h3>Burger Component</h3>
<burger-menu></burger-menu>
</section>
<section>
<h3>Burger Component with built-in Dropdown</h3>
<burger-with-dropdown></burger-with-dropdown>
</section>
<section>
<h3>Burger with Dropdown regular HTML</h3>
<button class="burger-menu" title="open or close menu" onclick="toggleMenu()">
<span class="line line-1"></span>
<span class="line line-2"></span>
<span class="line line-3"></span>
</button>
<menu>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
</menu>
</section>
<section>
<h3>Burger Component with dropdown added</h3>
<burger-menu></burger-menu>
<menu id='dropdown'>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
</menu>
</section>
</body>
</html>