-
Notifications
You must be signed in to change notification settings - Fork 59
/
demo.html
46 lines (37 loc) · 1.09 KB
/
demo.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Greedy Navigation</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script type="text/javascript" src="greedynav.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css">
<link rel="stylesheet" type="text/css" href="greedynav.css">
<style type="text/css">
* {
box-sizing: border-box;
}
html {
font-family: Helvetica, sans-serif;
}
body { padding: 2rem; }
</style>
</head>
<body>
<nav class='greedy'>
<h1>GreedyNav</h1>
<ul class='links'>
<li><a href='#'>navbar</a></li>
<li><a href='#'>that</a></li>
<li><a href='#'>handles</a></li>
<li><a href='#'>overflowing</a></li>
<li><a href='#'>menu</a></li>
<li><a href='#'>elements</a></li>
<li><a href='#'>effortlessly</a></li>
</ul>
<button>MENU</button>
<ul class='hidden-links hidden'></ul>
</nav>
</body>
</html>