File tree Expand file tree Collapse file tree 2 files changed +90
-4
lines changed
87-sliding signin signup form Expand file tree Collapse file tree 2 files changed +90
-4
lines changed Original file line number Diff line number Diff line change 1919 < div class ="container " id ="container ">
2020 < div class ="form-container sign-up-container ">
2121 < form >
22- < h1 > Create Account </ h1 >
22+ < h1 > Sign Up </ h1 >
2323 < div class ="social-container ">
2424 < a href ="# " class ="social "> < i class ="fab fa-instagram "> </ i > </ a >
2525 < a href ="# " class ="social "> < i class ="fab fa-google "> </ i > </ a >
@@ -34,7 +34,7 @@ <h1>Create Account</h1>
3434 </ div >
3535 < div class ="form-container sign-in-container ">
3636 < form >
37- < h1 > Sign in </ h1 >
37+ < h1 > Sign In </ h1 >
3838 < div class ="social-container ">
3939 < a href ="# " class ="social "> < i class ="fab fa-instagram "> </ i > </ a >
4040 < a href ="# " class ="social "> < i class ="fab fa-google "> </ i > </ a >
Original file line number Diff line number Diff line change 2222 align-items : center;
2323 justify-content : center;
2424 min-height : 100vh ;
25- margin : -20 px 0 50 px ;
25+ margin : 1 rem 0 ;
2626}
2727
2828h1 {
@@ -127,7 +127,6 @@ input {
127127 position : relative;
128128 overflow : hidden;
129129 height : 768px ;
130- max-height : 96% ;
131130 width : 480px ;
132131 max-width : 100% ;
133132}
@@ -241,3 +240,90 @@ input {
241240.container .right-panel-active .overlay-right {
242241 transform : translateY (20% );
243242}
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