Skip to content

Instantly share code, notes, and snippets.

@Manntrix
Created April 7, 2022 03:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Manntrix/263c2e8e191c9d396fa61574e3324c0a to your computer and use it in GitHub Desktop.
Save Manntrix/263c2e8e191c9d396fa61574e3324c0a to your computer and use it in GitHub Desktop.
@import url('https://fonts.googleapis.com/css2?family=Comfortaa&display=swap');
body {
background: linear-gradient(90deg, #4b6cb7 0%, #182848 100%);
}
.login {
width: 360px;
padding: 8% 0 0;
margin: auto;
font-family: 'Comfortaa', cursive;
}
.form {
position: relative;
z-index: 1;
background: #FFFFFF;
border-radius: 10px;
max-width: 360px;
margin: 0 auto 100px;
padding: 45px;
text-align: center;
}
.form input {
outline: 0;
background: #f2f2f2;
width: 100%;
border: 0;
border-radius: 5px;
margin: 0 0 15px;
padding: 15px;
box-sizing: border-box;
font-size: 14px;
font-family: 'Comfortaa', cursive;
}
.form input:focus {
background: #dbdbdb;
}
.form button {
font-family: 'Comfortaa', cursive;
text-transform: uppercase;
outline: 0;
background: #4b6cb7;
width: 100%;
border: 0;
border-radius: 5px;
padding: 15px;
color: #FFFFFF;
font-size: 14px;
-webkit-transition: all 0.3 ease;
transition: all 0.3 ease;
cursor: pointer;
}
.form button:active {
background: #395591;
}
.form span {
font-size: 40px;
color: #4b6cb7;
margin-bottom: 25px;
display: block;
}
.form p.error {
margin: 0 0 10px 10px;
text-align: left;
font-size: 10px;
color: red;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment