Login form page V1 html code for free
Preview:-
Don't forget to give credit:- Mo Waseem
join my telegram channel for updates:- https://t.me/SawggerUi
sometimes link dosent work so copy the link and paste into saved message in telegram and the click on the link.
index.html
1
<!DOCTYPE html> <html lang="en"> <head> <title>Login</title> <style> body { margin: 0; padding: 0; font-family: Arial, sans-serif; background-color: #f5f5f5; overflow: hidden; /* Prevent overflow from causing scrollbars */ } .background { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, #1e5799 0%, #2989d8 50%, #207cca 51%, #7db9e8 100%); background-size: 200% 200%; animation: gradientBackground 10s ease infinite; /* Background animation */ } @keyframes gradientBackground { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } } .card { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: rgba(255, 255, 255, 0.9); /* Add a semi-transparent white background */ border-radius: 10px; padding: 40px; box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */ } .logo { width: 100px; display: block; margin: 0 auto 20px; } h4 { text-align: center; color: #333; /* Dark gray text color */ } .form { text-align: center; } input[type="email"], input[type="password"], button { width: 100%; padding: 10px; margin-bottom: 10px; border: none; border-radius: 5px; transition: all 0.3s; /* Add a smooth transition for all properties */ background: linear-gradient(to right, #56ccf2, #2f80ed); /* Glossy blue */ color: white; box-shadow: 0 4px 5px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */ } input[type="email"]:focus, input[type="password"]:focus { box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Increase box shadow on focus */ outline: none; /* Remove default focus outline */ } button { background: linear-gradient(to right, #56ccf2, #2f80ed); /* Glossy blue */ cursor: pointer; } button:hover { background: linear-gradient(to right, #2f80ed, #56ccf2); /* Darker glossy blue on hover */ transform: scale(1.05); /* Add a scale effect on hover */ box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Add a shadow on hover */ } footer { text-align: center; margin-top: 20px; } footer a { color: #56ccf2; /* Blue link color */ text-decoration: none; transition: color 0.3s; /* Add a smooth transition */ } footer a:hover { color: #2f80ed; /* Darker blue on hover */ } </style> </head> <body> <div class="background"></div> <div class="card"> <img class="logo" src="images.png" alt="Logo"> <h4>Welcome</h4> <form class="form"> <input type="email" placeholder="Email / Username"> <input type="password" placeholder="Password"> <button>Login</button> </form> <footer> Don't have an account? Sign Up <a href="#">Here</a> </footer> </div> </body> </html>
styles.css
1
* {
2
box-sizing: border-box;
3
}
4
5
body {
6
display: grid;
7
place-items: center;
8
gap: 50px;
9
margin: 0;
10
height: 100vh;
11
padding: 0 32px;
12
background: #eff9ff;
13
font-family: "Euclid Circular A", "Poppins";
14
}
15
16
@media (width >= 500px) {
17
body {
18
padding: 0;
19
}
20
}
21
22
.background {
23
position: fixed;
24
top: -50vmin;
25
left: -50vmin;
26
width: 100vmin;
27
height: 100vmin;
28
border-radius: 47% 53% 61% 39% / 45% 51% 49% 55%;
29
background: #65c8ff;
30
}
31
32
.background::after {
33
content: "";
34
position: inherit;
35
right: -50vmin;
36
bottom: -55vmin;
37
width: inherit;
38
height: inherit;
39
border-radius: inherit;
40
background: #143d81;
41
}
42
43
.card {
44
overflow: hidden;
45
position: relative;
46
z-index: 3;
47
width: 94%;
48
margin: 0 20px;
49
padding: 170px 30px 54px;
50
border-radius: 24px;
51
background: #ffffff;
52
text-align: center;
53
box-shadow: 0 100px 100px rgb(0 0 0 / 10%);
54
}
55
56
.card::before {
57
content: "";
58
position: absolute;
59
top: -880px;
60
left: 50%;
61
translate: -50% 0;
62
width: 1000px;
63
height: 1000px;
64
border-radius: 50%;
65
background: #216ce7;
66
}
67
68
@media (width >= 500px) {
69
.card {
70
margin: 0;
71
width: 360px;
72
}
73
}
74
75
.card .logo {
76
position: absolute;
77
top: 30px;
78
left: 50%;
79
translate: -50% 0;
80
width: 64px;
81
height: 64px;
82
}
83
84
.card > h2 {
85
font-size: 22px;
86
font-weight: 400;
87
margin: 0 0 38px;
88
color: rgb(0 0 0 / 38%);
89
}
90
91
.form {
92
margin: 0 0 44px;
93
display: grid;
94
gap: 12px;
95
}
96
97
.form :is(input, button) {
98
width: 100%;
99
height: 56px;
100
border-radius: 28px;
101
font-size: 16px;
102
font-family: inherit;
103
}
104
105
.form > input {
106
border: 0;
107
padding: 0 24px;
108
color: #222222;
109
background: #ededed;
110
}
111
112
.form > input::placeholder {
113
color: rgb(0 0 0 / 28%);
114
}
115
116
.form > button {
117
border: 0;
118
color: #f9f9f9;
119
background: #226ce7;
120
display: grid;
121
place-items: center;
122
font-weight: 500;
123
cursor: pointer;
124
}
125
126
.card > footer {
127
color: #a1a1a1;
128
}
129
130
.card > footer > a {
131
color: #216ce7;
132
}
133
main.js
1
// Cyrus Was Here <3