-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
36 lines (29 loc) · 928 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>/r/badUIbattles: Rotary Lock Input</title>
<link rel="stylesheet" href="lock.css">
</head>
<body>
<h1>Please enter your username</h1>
<svg class="lock" viewBox="0 0 100 100">
<defs>
<path id="path" d="M50,17a33,33 0 1,1 0,66a33,33 0 1,1 0,-66" />
</defs>
<path class="cursor" d="M50 10 l-2 -4 l4 0 z" />
<text fill="#fff" font-size="5" font-family="monospace" letter-spacing="2.74">
<textPath href="#path" />
</text>
<circle class="grab" cx="50" cy="50" r="40" />
<circle cx="50" cy="50" r="30" />
</svg>
<input type="text" class="text" disabled>
<div>
<button type="button" class="clear">CLEAR</button>
<button type="submit" class="submit">SUBMIT</button>
</div>
<script src="lock.js"></script>
</body>
</html>