Created
March 5, 2024 11:15
-
-
Save tarasowski/be3ad0bd6dc540f516411c1958130554 to your computer and use it in GitHub Desktop.
Bulletin board css
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
.App { | |
text-align: center; | |
} | |
.box { | |
position: absolute; | |
cursor: move; | |
color: black; | |
background-color: white; | |
max-width: 215px; | |
overflow-wrap: break-word; | |
border-radius: 5px; | |
padding: 1em; | |
margin: auto; | |
user-select: none; | |
} | |
body { | |
background-color: #282c34; | |
min-height: 100vh; | |
display: flex; | |
flex-direction: column; | |
align-items: center; | |
justify-content: center; | |
font-size: 1.2em; | |
color: white; | |
} | |
#new-item { | |
user-select: none; | |
position: absolute; | |
top: 50%; | |
left: 50%; | |
transform: translate(-50%, -50%); | |
} | |
input { | |
border-radius: 5px 0px 0px 5px; | |
color: white; | |
font-size: 1.3em; | |
background-color: transparent; | |
padding: 0.5em; | |
} | |
input:focus { | |
outline: none; | |
} | |
button { | |
cursor: pointer; | |
background-color: gray; | |
font-size: 1em; | |
padding: 0.7em; | |
border-radius: 0px 5px 5px 0px; | |
} | |
button:hover { | |
background-color: rgb(173, 162, 162); | |
} | |
#delete { | |
font-size: 0.6em; | |
position: fixed; | |
top: 0; | |
right: 0; | |
background-color: transparent; | |
border: none; | |
} | |
#delete:hover { | |
color: rgb(255, 55, 55); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment