Created
December 13, 2020 10:10
-
-
Save anLpk/7bc3df6ad17f85a2c44c93fe137d864a 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
| body { | |
| display: flex; | |
| height: 100vh; | |
| justify-content: center; | |
| align-items: center; | |
| background-color: tomato; | |
| } | |
| #container { | |
| display: flex; | |
| justify-content: center; | |
| height: 50vh; | |
| width: 50vh; | |
| border-radius: 20px; | |
| } | |
| #container input { | |
| display: block; | |
| width: 100%; | |
| height: calc(1.5em + 0.75rem + 2px); | |
| padding: 0.375rem 0.75rem; | |
| font-size: 1rem; | |
| font-weight: 400; | |
| line-height: 1.5; | |
| color: #495057; | |
| background-color: #fff; | |
| background-clip: padding-box; | |
| border: 1px solid #ced4da; | |
| border-radius: 0.25rem; | |
| transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; | |
| } | |
| ul { | |
| list-style-type: none; | |
| margin: 0; | |
| padding: 1em; | |
| } | |
| #btn { | |
| margin-left: 25px; | |
| height: calc(1.5em + 0.75rem + 2px); | |
| padding: 0.375rem 0.75rem; | |
| font-size: 1rem; | |
| font-weight: 400; | |
| line-height: 1.5; | |
| color: #495057; | |
| background-color: #fff; | |
| background-clip: padding-box; | |
| border: 1px solid #ced4da; | |
| border-radius: 0.25rem; | |
| transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; | |
| } | |
| #btn:hover { | |
| background-color: #0278ae; | |
| border: none; | |
| color: white; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment