Skip to content

Instantly share code, notes, and snippets.

@pena56
Created January 7, 2021 10:36
Show Gist options
  • Save pena56/523363b455010a4a128c6d34d04d020c to your computer and use it in GitHub Desktop.
Save pena56/523363b455010a4a128c6d34d04d020c to your computer and use it in GitHub Desktop.
html {
background: linear-gradient(
90deg,
rgba(2, 0, 36, 1) 18%,
rgba(9, 9, 121, 1) 62%,
rgba(0, 212, 255, 1) 100%
);
}
.App {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
color: #fff;
}
h2 {
font-size: 1.5rem;
text-align: center;
}
form {
display: flex;
flex-direction: column;
gap: 10px;
}
input {
border: none;
background: none;
padding: 10px;
border-bottom: 2px solid white;
font-size: 1.3rem;
color: #fff;
}
form > button {
padding: 10px;
border: 1px solid white;
background: none;
color: #fff;
border-radius: 30px;
font-weight: 700;
transition: all ease-in-out 0.2s;
}
form > button:hover {
background: white;
color: black;
}
div > p {
text-align: center;
}
.App > div {
display: flex;
flex-direction: column;
gap: 10px;
}
.App > div > div {
padding: 10px;
border: 1px solid white;
border-radius: 5px;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.App > div > div > p {
width: 100%;
}
.btn-success {
background: green;
color: #fff;
border: none;
padding: 10px;
border-radius: 30px;
}
.btn-danger {
background: red;
color: #fff;
border: none;
padding: 10px;
border-radius: 30px;
}
.App > button {
padding: 20px;
border: none;
border-radius: 30px;
font-size: 1.1rem;
font-weight: 700;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment