-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
74 lines (66 loc) · 3.46 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="This generator helps you to easily created some custom borders to you blocks.">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Simple CSS border-radius generator!</title>
<link rel="shortcut icon" type="image/x-icon" href="./favicon/favicon.ico">
<link rel="icon" type="image/png" sizes="16x16" href="./favicon/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="./favicon/favicon-32x32.png">
<link rel="apple-touch-icon" sizes="180x180" href="./favicon/apple-touch-icon.png">
<link rel="manifest" href="./favicon/site.webmanifest">
<link rel="stylesheet" href="./app-css-generator-border-radius.css">
<link rel="stylesheet" href="./app-css-generator-border-radius-toggle.css">
<script defer src="./app-css-generator-border-radius.js"></script>
</head>
<body>
<header class="header">
<h1>CSS generator: create your border-radius easily!</h1>
<div class="toggle">
<input id="pixel" class="toggle toggle-left" name="toggle" value="false" type="radio" checked>
<label for="pixel" class="btn">PX</label>
<input id="percentrage" class="toggle toggle-right" name="toggle" value="true" type="radio">
<label for="percentrage" class="btn">%</label>
</div>
</header>
<main class="main">
<div class="sliders">
<div class="sliders__top_left">
<label>border-top-left-radius</label>
<input type="range" data-range="border-radius-top-left" min="0" max="100" value="0">
<input type="number" data-number="border-radius-top-left" min="0" max="100" value="0">
<span data-res="border-radius-top-left">0</span>
</div>
<div class="sliders__top_right">
<label>border-top-right-radius</label>
<input type="number" data-number="border-radius-top-right" min="0" max="100" value="0">
<input type="range" data-range="border-radius-top-right" min="0" max="100" value="0">
<span data-res="border-radius-top-right">0</span>
</div>
<div class="sliders__botom_left">
<span data-res="border-radius-bottom-left">0</span>
<input type="range" data-range="border-radius-bottom-left" min="0" max="100" value="0">
<input type="number" data-number="border-radius-bottom-left" min="0" max="100" value="0">
<label>border-bottom-left-radius</label>
</div>
<div class="sliders__bottom_right">
<span data-res="border-radius-bottom-right">0</span>
<input type="number" data-number="border-radius-bottom-right" min="0" max="100" value="0">
<input type="range" data-range="border-radius-bottom-right" min="0" max="100" value="0">
<label>border-bottom-right-radius</label>
</div>
</div>
<div class="container">
<div class="box"></div>
</div>
</main>
<footer class="footer">
<div class="result">
<span data-result>border-radius: 0;</span>
</div>
<button class="copy none" data-btn="copy">Copy CSS</button>
</footer>
</body>
</html>