forked from codepo8/pixels-and-colours
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
75 lines (73 loc) · 1.77 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta name="viewport" content="width=device-width">
<meta charset="UTF-8">
<title>Simple paint example</title>
<style type="text/css">
body {
margin: 0;
padding: 0;
font-family: helvetica,arial,sans-serif;
}
nav {
display: block;
float: left;
width: 200px;
}
nav a {
text-decoration: none;
display: block;
padding: 2px 10px;
color: #333;
}
nav a:focus {
color: #000;
background: #ccc;
}
nav li {
list-style: none;
position: relative;
padding: .5em 0;
}
nav ol {
counter-reset:list;
}
nav li:before {
counter-increment:list;
content:counter(list);
position: absolute;
left: -.8em;
top: .5em;
border-radius: 50% 50%;
background: #ccc;
width: 1.3em;
height: 1.3em;
text-align: center;
line-height: 1.3em;
}
iframe {
display: block;
float: left;
border: none;
}
iframe[name] {
width: 320px;
height: 480px;
box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.8);
}
</style>
</head>
<body>
<nav><ol>
<li><a href="01-paint.html" target="show">Paint</a></li>
<li><a href="02-paint-with-mousedown.html" target="show">Mousedown</a></li>
<li><a href="03-continuous-paint.html" target="show">Continuous</a></li>
<li><a href="04-letter.html" target="show">Letter</a></li>
<li><a href="05-stay-in-letter.html" target="show">Stay in Letter</a></li>
<li><a href="06-compare.html" target="show">Compare</a></li>
</ol></nav>
<iframe name="show"></iframe>
<iframe width="560" height="315" src="http://www.youtube.com/embed/9rsDNifGods?rel=0" frameborder="0" allowfullscreen></iframe>
</body>
</html>