-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmenu.html
More file actions
56 lines (50 loc) · 1.43 KB
/
menu.html
File metadata and controls
56 lines (50 loc) · 1.43 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Title</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="style.css">
<!--Refreshes index.html after 180 seconds-->
<meta http-equiv="refresh" content="180;url=index.html">
<!--Creates 3s fade-in animation-->
<style>
body {
animation: fadeInAnimation ease 3s;
animation-iteration-count: 1;
animation-fill-mode: forwards;
}
@keyframes fadeInAnimation {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
</style>
</head>
<body>
<ul>
<li><a href="modal.html">Next</a></li>
<li><a href="index.html">Back</a></li>
<li style="float:left"><p>Touchscreen Interface Design Toolkit</li>
</ul>
<br>
<div class="sidebar">
<a class="active" href="#menu">Home</a>
<a href="">2</a>
<a href="">Page 2</a>
<a href="">Page 3</a>
<a href="">etcetera</a>
</div>
<div class= "maincontent">
<h2>Responsive Sidebar Example</h2>
<p>This example use media queries to transform the sidebar to a top navigation bar when the screen size is 700px or less.</p>
<p>We have also added a media query for screens that are 400px or less, which will vertically stack and center the navigation links.</p>
<h3>Resize the browser window to see the effect.</h3>
</div>
</body>
</html>
</body>
</html>