forked from Saurabh-Nishad-WD/LoginSignUpForm
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyle.css
More file actions
78 lines (67 loc) · 1.13 KB
/
style.css
File metadata and controls
78 lines (67 loc) · 1.13 KB
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
body {
font-family: Arial, sans-serif;
background: linear-gradient(135deg, #667eea, #764ba2);
color: #fff;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.container {
width: 100%;
max-width: 400px;
}
.form-container {
position: relative;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 10px;
padding: 20px;
backdrop-filter: blur(10px);
overflow: hidden;
}
.form {
width: 100%;
transition: transform 0.5s ease;
}
.form.signup-form {
position: absolute;
top: 0;
left: 100%;
width: 100%;
}
.form-container.active .login-form {
transform: translateX(-100%);
}
.form-container.active .signup-form {
transform: translateX(-100%);
}
h2 {
text-align: center;
margin-bottom: 20px;
}
input {
width: 100%;
padding: 10px;
margin: 10px 0;
border: none;
border-radius: 5px;
}
button {
width: 100%;
padding: 10px;
border: none;
border-radius: 5px;
background: #fff;
color: #764ba2;
cursor: pointer;
}
p {
text-align: center;
}
a {
color: #fff;
cursor: pointer;
}