-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
73 lines (57 loc) · 2.34 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
<!doctype html>
<!--[if IE 7]><html class="no-js ie7" lang="en"><![endif]-->
<!--[if IE 8]><html class="no-js ie8" lang="en"><![endif]-->
<!--[if IE 9]><html class="no-js ie9" lang="en"><![endif]-->
<!--[if !IE]><!--><html class="no-js" lang="en"><!--<![endif]-->
<head>
<meta charset="UTF-8">
<!-- TITLE -->
<title>RWD Calculator</title>
<!-- DESC/KEYWORDS -->
<meta name="description" content="RWD Calc" />
<meta name="keywords" content="RWD Calc" />
<!-- MOBILE -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- AUTHOR -->
<link rel="author" content="" />
<!-- STYLES -->
<link rel="stylesheet" href="resource/css/style.css" />
</head>
<body>
<div id="container">
<h1>RWD Calculator</h1>
<form id="rwdcalc">
<div>
<label for="element">Element:</label>
<input type="text" name="element" id="element" placeholder="The element, ID or classname, e.g. #header" required />
</div>
<div>
<label for="target">Target:</label>
<input type="text" name="target" id="target" placeholder="The element width" required />
</div>
<div>
<label for="context">Context:</label>
<input type="text" name="context" id="context" placeholder="The parent width" required />
</div>
<div>
<label for="context">Margin:</label>
<input type="text" name="margin" id="margin" placeholder="The element margin" />
</div>
<div>
<label for="context">Padding:</label>
<input type="text" name="padding" id="padding" placeholder="The element padding" />
</div>
<div class="note">
<p>*Padding value assumes box-sizing: border-box</p>
</div>
<div>
<input type="submit" value="submit" id="submit" />
</div>
</form>
<p id="result"></p>
</div>
<!-- SCRIPTS -->
<script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
<script src="resource/js/rwdcalc.js"></script>
</body>
</html>