forked from Hashtechieofficial/Respnsive-form
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
137 lines (135 loc) · 2.63 KB
/
style.css
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');
*{
margin: 0;
padding: 0;
font-family: 'poppins',sans-serif;
}
body{
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: #ffa500;
transition: .5s;
}
body.active{
background: #03a9f4;
}
.container{
position: relative;
width: 800px;
height: 500px;
margin: 20px;
}
.orangeBG{
position: absolute;
top: 40px;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 420px;
background: rgba(255,255,255,.2);
box-shadow: 0 5px 45px rgba(0,0,0,.15);
}
.orangeBG .box{
position: relative;
width: 50%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.form-box{
position: absolute;
background: #fff;
height: 100%;
width: 50%;
top: 0;
left: 0;
z-index: 1000;
display: flex;
justify-content: center;
align-items: center;
box-shadow: 0 5px 45px rgba(0,0,0,0.25);
transition: ease-in-out .5s;
overflow: hidden;
}
.form-box.active{
left: 50%;
}
.box h2{
color: #fff;
font-size: 1.2em;
font-weight: 500;
margin-bottom: 10px;
}
.orangeBG .box button{
padding: 10px 20px;
background: #fff;
color: #000;
font-size: 16px;
font-weight: 500;
border: none;
cursor: pointer;
}
.form-box .form{
position: absolute;
width: 80%;
transition: .5s;
padding: 50px;
}
.form-box .signinform{
transition-delay: .25s;
}
.form-box.active .signinform{
left: -100%;
transition-delay: 0;
}
.form-box .signupform{
left: 100%;
transition-delay: 0;
}
.form-box.active .signupform{
left: 0%;
transition-delay: .25s;
}
.form-box .form form{
display: flex;
width: 100%;
flex-direction: column;
}
.form-box .form form input{
margin-bottom: 20px;
height: 30px;
padding: 10px;
outline: none;
font-size: 16px;
border: 1px solid #333;
border: 1.5px solid;
}
.form form h3{
text-align: center;
font-size: 1.5em;
font-weight: 500;
margin-bottom: 20px;
/* }
.form form input[type="submit"]{
background: #ffa500;
border: none;
max-width: 100px;
color: #fff;
cursor: pointer; */
}
.form form input[value="Sign Up"]{
background: #03a9f4;
border: none;
max-width: 100px;
color: #fff;
cursor: pointer;
}
a{
color: #333;
font-size: 14px;
}