Created
May 15, 2021 07:38
-
-
Save loveyunk/39ab7f360306f36658814c16e03e4574 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
html { | |
font-family: sans-serif; | |
} | |
body { | |
margin: 0; | |
} | |
form { | |
width: 90%; | |
max-width: 40rem; | |
margin: 2rem auto; | |
} | |
.form-control { | |
margin-bottom: 1rem; | |
} | |
label, | |
input { | |
display: block; | |
width: 100%; | |
} | |
label { | |
font-weight: bold; | |
} | |
input { | |
font: inherit; | |
border: 1px solid #ccc; | |
padding: 0.25rem; | |
} | |
input:focus { | |
outline: none; | |
border-color: #50005a; | |
} | |
button { | |
background: #50005a; | |
border: 1px solid #50005a; | |
color: white; | |
padding: 0.5rem 1.5rem; | |
cursor: pointer; | |
} | |
button:focus { | |
outline: none; | |
} | |
button:hover, | |
button:active { | |
background: #6a0a77; | |
border-color: #6a0a77; | |
} | |
ul { | |
list-style: none; | |
width: 90%; | |
max-width: 40rem; | |
margin: 2rem auto; | |
padding: 0; | |
} | |
li { | |
margin: 1rem 0; | |
padding: 1rem; | |
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.26); | |
border-radius: 6px; | |
display: flex; | |
justify-content: space-between; | |
align-items: center; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment