-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
70 lines (60 loc) · 3.25 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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<!-- METATAGS -->
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Pré-visualizador de border-radius." />
<link rel="stylesheet" type="text/css" href="./public/css/style.css" />
<!-- GOOGLE FONTS -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Lobster&display=swap" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap" />
<title>Border Radius Preview</title>
</head>
<body>
<div id="home">
<header id="main-header" class="p-absolute">
<h1 id="header__title" class="c-white uppercase">
Border Radius Previewer
</h1>
</header>
<div class="custom-shape-divider-top w100">
<svg data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none">
<path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z"
fill="#4a90e2" fill-opacity="0.5"></path>
</svg>
</div>
<div class="container d-flex flex-d-column justify-content-center-md align-items-center-md" style="z-index: 999">
<div class="d-flex flex-d-column-md">
<input id="border-top-left" type="range" min="0" max="999" step="1"/>
<input id="border-bottom-left" type="range" min="0" max="999" step="1"/>
<input id="border-top-right" type="range" min="0" max="999" step="1"/>
<input id="border-bottom-right" type="range" min="0" max="999" step="1"/>
</div>
<button id="btn-reset" class="c-white">Resetar</button>
<div class="preview"></div>
</div>
<div class="container d-flex flex-d-column-md justify-content-center-md align-items-center-md" style="z-index: 999">
<div class="d-flex justify-content-center-md align-items-center-md" style="margin-top: 2rem;">
<p class="code">border-radius: 0px 0px 0px 0px;</p>
<button id="btn-copy" class="c-white">Copiar</button>
</div>
<div class="d-flex justify-content-center-md align-items-center-md" style="margin-top: 2rem;">
<input type="checkbox" name="css3" id="css3" checked />
<label class="preview-option">css3 </label>
<input type="checkbox" name="moz" id="moz" />
<label class="preview-option">moz </label>
<input type="checkbox" name="webkit" id="webkit" />
<label class="preview-option">webkit</label>
</div>
</div>
<div class="custom-shape-divider-bottom w100">
<svg data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none">
<path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z"
fill="#4a90e2" fill-opacity="0.5"></path>
</svg>
</div>
</div>
<script type="module" src="./public/scripts/main.js"></script>
</body>
</html>