Skip to content

Commit

Permalink
made the side register form fully responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
712Kunal committed Dec 23, 2024
1 parent 1429e6e commit 1ff9370
Showing 1 changed file with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions Components/Forms/Slide-Login-Register-Form/style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}

body{
width: 100%;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.theme-switch {
--toggle-size: 15px;
--container-width: 5.625em;
Expand All @@ -18,6 +33,9 @@
--circle-transition: .3s cubic-bezier(0, -0.02, 0.35, 1.17);
display: flex;
justify-content: right;
position: absolute !important;
right: 0px;
top: 0px;
}

.theme-switch,
Expand Down Expand Up @@ -219,14 +237,13 @@
}

.main {
position: relative;
left: 600px;
max-height: 470px;
width: 350px;
overflow: hidden;
border: 2px solid blue;
display: flex;
flex-direction: column;
background-color: #240046;
max-height: 500px;
max-width: 350px;
overflow: hidden;
border-radius: 12px;
box-shadow: 7px 7px 10px 3px #24004628;
}
Expand Down

0 comments on commit 1ff9370

Please sign in to comment.