-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
59 lines (56 loc) · 1.9 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
<!DOCTYPE html>
<html>
<head>
<title>HTML5 crumbs</title>
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<header>
<h1>HTML5 crumbs</h1>
</header>
<section>
<div class="container">
<button type="button" id="mybuttonGreets">greets</button>
<button type="button" id="buttonGray">color grey</button>
<button type="button" id="buttonWhite">color white</button>
</div>
<div class="container">
<canvas id="paper" width="400" height="300">
Your browser doesn't support HTML5 Canvas.
</canvas>
</div>
<div class="container">
<h3>Circle radius</h3>
<input id="raggio" type="range" min="5" max="60" value="15" step="1" />
<span id="raggioM">15</span>
</div>
<div class="container">
<h3>Background color (rgb)</h3>
<input id="r" type="range" min="0" max="255" value="192" step="1" />
<span id="rm">192</span>
<input id="g" type="range" min="0" max="255" value="192" step="1" />
<span id="gm">192</span>
<input id="b" type="range" min="0" max="255" value="192" step="1" />
<span id="bm">192</span>
</div>
<div class="container">
<h3>Circle color (rgb)</h3>
<input id="rc" type="range" min="0" max="255" value="192" step="1" />
<span id="rcm">192</span>
<input id="gc" type="range" min="0" max="255" value="192" step="1" />
<span id="gcm">192</span>
<input id="bc" type="range" min="0" max="255" value="192" step="1" />
<span id="bcm">192</span>
</div>
<div class="container">
<button id="buttonclear">clear canvas</button>
</div>
</section>
<footer>
<p>HTML5 crumbs are baked by <a href="http://www.dia.uniroma3.it/~cvdlab/">CVD LAB</a></p>
</footer>
<script src="js/jquery.js"></script>
<script src="js/script.js"></script>
</body>
</html>