-
Notifications
You must be signed in to change notification settings - Fork 0
/
glassMorphism.html
60 lines (53 loc) · 2 KB
/
glassMorphism.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
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>GlassMorphism</title>
<link rel="stylesheet" href="src/static/css/default.css">
<link rel="stylesheet" href="src/static/css/glassMorphism.css">
</head>
<body>
<div class="navBar">
<div class="icon"><a href="/HUI">HUI</a></div>
<div class="cursor" color="#F63E61"></div>
</div>
<section>
<div class="color"></div>
<div class="color"></div>
<div class="color"></div>
<div class="color"></div>
<div class="box">
<div class="container">
<div class="form">
<h2>Login</h2>
<form>
<div class="inputBox">
<input type="text" placeholder="Username">
</div>
<div class="inputBox">
<input type="password" placeholder="Password">
</div>
<div class="inputBox">
<input type="submit" value="Login" class="submitBtn">
</div>
<p class="forget">Forgot Password ? <a href="#">Click Here</a></p>
<p class="forget">Don't have an account ? <a href="#">Sign up</a></p>
</form>
</div>
</div>
<div class="glassBox"></div>
<div class="glassBox"></div>
<div class="glassBox"></div>
<div class="glassBox"></div>
<div class="glassBox"></div>
</div>
</section>
</body>
<script src="src/static/js/cursor.js"></script>
<script>
const submitBtn = document.querySelector('.submitBtn');
mouseHovering(submitBtn, '', '#F63E61', '4em');
const forgetBtns = document.querySelectorAll('.forget a');
forgetBtns.forEach((btn)=>mouseHovering(btn, '', '#F63E61', '2em'));
</script>
</html>