File tree 2 files changed +90
-4
lines changed
87-sliding signin signup form
2 files changed +90
-4
lines changed Original file line number Diff line number Diff line change 19
19
< div class ="container " id ="container ">
20
20
< div class ="form-container sign-up-container ">
21
21
< form >
22
- < h1 > Create Account </ h1 >
22
+ < h1 > Sign Up </ h1 >
23
23
< div class ="social-container ">
24
24
< a href ="# " class ="social "> < i class ="fab fa-instagram "> </ i > </ a >
25
25
< a href ="# " class ="social "> < i class ="fab fa-google "> </ i > </ a >
@@ -34,7 +34,7 @@ <h1>Create Account</h1>
34
34
</ div >
35
35
< div class ="form-container sign-in-container ">
36
36
< form >
37
- < h1 > Sign in </ h1 >
37
+ < h1 > Sign In </ h1 >
38
38
< div class ="social-container ">
39
39
< a href ="# " class ="social "> < i class ="fab fa-instagram "> </ i > </ a >
40
40
< a href ="# " class ="social "> < i class ="fab fa-google "> </ i > </ a >
Original file line number Diff line number Diff line change 22
22
align-items : center;
23
23
justify-content : center;
24
24
min-height : 100vh ;
25
- margin : -20 px 0 50 px ;
25
+ margin : 1 rem 0 ;
26
26
}
27
27
28
28
h1 {
@@ -127,7 +127,6 @@ input {
127
127
position : relative;
128
128
overflow : hidden;
129
129
height : 768px ;
130
- max-height : 96% ;
131
130
width : 480px ;
132
131
max-width : 100% ;
133
132
}
@@ -241,3 +240,90 @@ input {
241
240
.container .right-panel-active .overlay-right {
242
241
transform : translateY (20% );
243
242
}
243
+
244
+ @media (min-width : 768px ) {
245
+ body {
246
+ margin : -20px 0 50px ;
247
+ }
248
+
249
+ .container {
250
+ width : 768px ;
251
+ max-width : 100% ;
252
+ height : 480px ;
253
+ }
254
+
255
+ .form-container {
256
+ top : 0 ;
257
+ height : 100% ;
258
+ width : 50% ;
259
+ }
260
+
261
+ .sign-in-container {
262
+ left : 0 ;
263
+ width : 50% ;
264
+ height : 100% ;
265
+ }
266
+
267
+ .container .right-panel-active .sign-in-container {
268
+ transform : translateX (100% );
269
+ }
270
+
271
+ .sign-up-container {
272
+ left : 0 ;
273
+ width : 50% ;
274
+ height : 100% ;
275
+ }
276
+
277
+ .container .right-panel-active .sign-up-container {
278
+ transform : translateX (100% );
279
+ }
280
+
281
+ .overlay-container {
282
+ left : 50% ;
283
+ top : 0 ;
284
+ height : 100% ;
285
+ width : 50% ;
286
+ }
287
+
288
+ .container .right-panel-active .overlay-container {
289
+ transform : translateX (-100% );
290
+ }
291
+
292
+ .overlay {
293
+ top : 0 ;
294
+ left : -100% ;
295
+ height : 100% ;
296
+ width : 200% ;
297
+ transform : translateX (0 );
298
+ }
299
+
300
+ .container .right-panel-active .overlay {
301
+ transform : translateX (50% );
302
+ }
303
+
304
+ .overlay-panel {
305
+ top : 0 ;
306
+ height : 100% ;
307
+ width : 50% ;
308
+ transform : translateX (0 );
309
+ }
310
+
311
+ .overlay-left {
312
+ transform : translateX (-20% );
313
+ }
314
+
315
+ .container .right-panel-active .overlay-left {
316
+ transform : translateX (0 );
317
+ }
318
+
319
+ .overlay-right {
320
+ right : 0 ;
321
+ top : 0 ;
322
+ left : 50% ;
323
+ transform : translateX (0 );
324
+ }
325
+
326
+ .container .right-panel-active .overlay-right {
327
+ transform : translateX (20% );
328
+ }
329
+ }
You can’t perform that action at this time.
0 commit comments