-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
44 lines (36 loc) · 1.14 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
<!--
Check my website: https://www.stabla.me/
Check my GitHub: @stabla
Me: Guillaume Bonnet
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title> Colors PickerCursor by Guillaume Bonnet </title>
<link rel="stylesheet" href="style.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script>
// For mobile iOS
function showCoords(event) {
X = event.clientX;
Y = event.clientY;
}
</script>
</head>
<body>
<input type="text" class="text-in" autofocus>
<div class="mouse-text colorIt"> Scroll/move on rectangle</div>
<div id="wrapper" onclick="showCoords(event)">
<div id="scroller"></div>
</div>
<div class="data colorIt">
rgb(
<input type="text" class="color colorIt">)
<br> #
<input type="text" class="color-hexa colorIt">
</div>
<div class="author"><a href="https://www.stabla.me" class="colorIt">Guillaume Bonnet</a> - <a href="https://github.com/stabla" class="colorIt">Github</a></div>
<script src="app.js"></script>
</body>
</html>