Created
March 8, 2022 17:54
-
-
Save koolkishan/efb218e1fea6b76e0d7fe8365aa617dc to your computer and use it in GitHub Desktop.
Index CSS Code for JWT login with react and nodejs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* { | |
padding: 0; | |
margin: 0; | |
box-sizing: border-box; | |
} | |
body { | |
height: 100vh; | |
width: 100vw; | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
background-color: rgb(236, 236, 238); | |
overflow: hidden; | |
font-family: Verdana, Geneva, Tahoma, sans-serif; | |
} | |
.container { | |
background-color: white; | |
padding: 1rem 3rem; | |
padding-bottom: 2rem; | |
border-radius: 0.5rem; | |
border-top: rgb(80, 98, 255) 0.5rem solid; | |
} | |
h2 { | |
margin: 1rem 0; | |
} | |
form { | |
display: flex; | |
flex-direction: column; | |
gap: 1.4rem; | |
} | |
form div { | |
display: flex; | |
flex-direction: column; | |
gap: 0.3rem; | |
} | |
input { | |
padding: 0.5rem; | |
border-radius: 0.3rem; | |
border: 1px solid gray; | |
font-size: 1.1rem; | |
} | |
button { | |
background-color: rgb(80, 98, 255); | |
color: white; | |
border: none; | |
padding: 0.5rem; | |
font-size: 1rem; | |
text-transform: uppercase; | |
cursor: pointer; | |
border-radius: 0.3rem; | |
} | |
span a { | |
text-decoration: none; | |
color: rgb(80, 98, 255); | |
} | |
.private { | |
height: 100vh; | |
width: 100vw; | |
background-color: rgb(80, 98, 255); | |
color: white; | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
text-transform: uppercase; | |
font-size: 3rem; | |
flex-direction: column; | |
gap: 1rem; | |
} | |
.private button { | |
background-color: black; | |
padding: 2rem 10rem; | |
font-size: 4rem; | |
border-radius: 2rem; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment