forked from three-fourteen/CSS3-Generator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
195 lines (178 loc) · 9.35 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
<!doctype html>
<!--[if lt IE 7]>
<html class="no-js ie6 oldie" lang="en">
<![endif]-->
<!--[if IE 7]>
<html class="no-js ie7 oldie" lang="en">
<![endif]-->
<!--[if IE 8]>
<html class="no-js ie8 oldie" lang="en">
<![endif]-->
<!--[if gt IE 8]>
<!-->
<html class="no-js" lang="en">
<!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>CSS3 Generator ¦ Border-radius</title>
<meta name="description" content="CSS3 Generator is a Web App for testing and learn how to use some of the new features of CSS3.">
<meta name="keywords" content="css3, generator,webapp, web, app, features, border, radius, border-radius">
<meta name="author" content="Andres Pi, Sten Hougaard (v/2)">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="stylesheet" href="css/style.css">
<script src="js/libs/modernizr-2.0.6.min.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
// _gaq.push(['_setAccount', 'UA-29486309-1']); Andres Pi
_gaq.push(['_setAccount', 'UA-1986428-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<style>
#cont-border-generator input[type="text"]:focus {
-webkit-transform: scale(1.25);
-moz-transform: scale(1.25);
-o-transform: scale(1.25);
-ms-transform: scale(1.25);
transform: scale(1.25);
}
</style>
</head>
<body>
<div id="container">
<header id="page-header">
<h1>
CSS3 Generator: Border-radius,
<br />
v/2.0.1 by Sten Hougaard<br />
<br />
<small>Now with transitions</small>
</h1>
</header>
<section id="main" role="main">
<div class="settingsContainer">
<table class="v2">
<tbody>
<tr>
<th colspan="2">Keyboard and mouse controls</th>
</tr>
<tr>
<th>Change unit</th>
<td>[Space]</td>
</tr>
<tr>
<th>Change corner values</th>
<td>Mouse Wheel, [
<span title="up">↑ or A</span>
] and [
<span title="down">↓ or Z</span>
]</td>
</tr>
<tr>
<th>Toggle change both values</th>
<td>[Alt or W]</td>
</tr>
<tr>
<th>Toggle all values</th>
<td>[Shift or Q]</td>
</tr>
<tr>
<td colspan="2">Try:
<a href="#" onclick="setRandomRadius();">Set Random Radius</a>
(
<a href="#" onclick="setRandomRadius(true)">Reset</a>
)</td>
</tr>
<tr>
<th></th>
<td></td>
</tr>
</tbody>
</table>
</div>
<div id="status"></div>
<article>
<div id="cont-border-generator">
<div id="style-sample">
<div id="style-board" readonly="readonly">
Edit the values in the corners to generate the desired style.
</div>
</div>
<!-- #style-sample -->
<input type="text" id="blt" class="txt" placeholder="0">
<input type="text" id="brt" class="txt" placeholder="0">
<input type="text" id="brb" class="txt" placeholder="0">
<input type="text" id="blb" class="txt" placeholder="0">
<input type="text" id="bltl" class="txt" placeholder="0">
<input type="text" id="brtl" class="txt" placeholder="0">
<input type="text" id="brbl" class="txt" placeholder="0">
<input type="text" id="blbl" class="txt" placeholder="0">
<input type="checkbox" id="clt" class="concurrent">
<input type="checkbox" id="crt" class="concurrent">
<input type="checkbox" id="crb" class="concurrent">
<input type="checkbox" id="clb" class="concurrent"></div>
<ul class="filter">
<li>
<label>
<input name="browsers" value="webkit" type="checkbox" checked>Webkit</label>
</li>
<li>
<label>
<input name="browsers" value="moz" type="checkbox" checked>Firefox</label>
</li>
</ul>
<ul class="filter">
<li>
<label>
<input value="px" name="measure" type="radio" checked>px</label>
</li>
<li>
<label>
<input value="em" name="measure" type="radio" >em</label>
</li>
<li>
<label>
<input value="%" name="measure" type="radio" >%</label>
</li>
</ul>
</article>
</section>
<footer id="page-footer">
<a href="https://github.com/netsi1964/CSS3-Generator" title="Get v/2 on github">v/2 at Github</a>
</a>
by
<a href="http://www.netsi.dk/wordpress" title="The blog of Sten Hougaard">Sten Hougaard</a>
-
<a href="http://twitter.com/netsi1964" title="Netsi1964 at twitter">@netsi1964</a>
<br />
<small>
2012
<a href="http://labs.dreamsiteweb.com/" target="_blank" >DreamSite Web labs</a>
. Reference
<a href="http://www.w3schools.com/cssref/css3_pr_border-radius.asp" target="_blank">w3schools</a>
&
<a href="http://muddledramblings.com/table-of-css3-border-radius-compliance/" target="_blank">Muddled Ramblings and Half-Baked Ideas</a>
.
</small>
</footer>
</div>
<!--! end of #container -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<!-- scripts concatenated and minified via ant build script-->
<script src="js/script.js"></script>
<!-- v/2 extra functionality -->
<script src="js/jquery.mousewheel.js"></script>
<script src="js/netsi1964.js"></script>
<!-- end scripts-->
<!--[if lt IE 7 ]>
<script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.2/CFInstall.min.js"></script>
<script>window.attachEvent("onload",function(){CFInstall.check({mode:"overlay"})})</script>
<![endif]-->
</body>
</html>