-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
83 lines (78 loc) · 2.81 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"
integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
<link rel="stylesheet" href="./style.css">
<script src="./app.js" defer></script>
<title>Border Radius Tool</title>
</head>
<body>
<header class="header">
<div class="container">
<nav class="nav">
<a class="nav-logo" href="">
<h3>Rully's Project</h3>
</a>
<div class="nav-links">
<a class="nav-links__item" href="https://github.com/rllyhz" target="_blank">My Github</a>
<a class="nav-links__item" href="https://rllyhz.github.io/" target="_blank">Projects</a>
<a class="nav-links__item" href="https://rllyhz.github.io/">Blog</a>
</div>
</nav>
</div>
</header>
<main class="main">
<div class="container">
<div class="projects-container">
<h2>
Set <span>`border-radius`</span> value as you see on this preview:
</h2>
<div class="border-radius-tool">
<div class="preview-container">
<div class="preview-shape" id="preview-shape"></div>
</div>
<div class="controllers">
<div class="form-controller">
<label for="">Top</label>
<input type="range" class="top" min="0" max="100">
</div>
<div class="form-controller">
<label for="">Right</label>
<input type="range" class="right" min="0" max="100">
</div>
<div class="form-controller">
<label for="">Bottom</label>
<input type="range" class="bottom" min="0" max="100">
</div>
<div class="form-controller">
<label for="">Left</label>
<input type="range" class="left" min="0" max="100">
</div>
</div>
</div>
<div class="preview-shape-controller">
<div class="form-controller">
<label for="width">Width/px</label>
<input type="number" id="width">
</div>
<div class="form-controller">
<label for="link-dimension" style="display: none;">A</label>
<i class="fa fa-link" id="link-dimension"></i>
<input type="checkbox" id="link-dimension-controller" checked>
</div>
<div class="form-controller">
<label for="height">Height/px</label>
<input type="number" id="height">
</div>
</div>
<div class="result" id="result">
Result
</div>
</div>
</div>
</main>
</body>
</html>