Created
September 12, 2022 18:29
-
-
Save hieptl/f0f3f9a9a2c9fca1ed25c9168fac05ab to your computer and use it in GitHub Desktop.
Chat App with Firebase - index.css
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 { | |
background-color: #f3f2f3; | |
margin: 0; | |
padding: 0; | |
} | |
header { | |
text-align: center; | |
} | |
#messages{ | |
padding-bottom: 30%; | |
} | |
li { | |
list-style-type: none; | |
margin-bottom: 10px; | |
background-color: #6929ca; | |
padding: 5px; | |
border-radius: 10px; | |
color: white; | |
width: 50%; | |
} | |
li span { | |
font-style: italic; | |
font-weight: bolder; | |
color: #b5b0b9; | |
} | |
#chat { | |
width: 80%; | |
margin: auto; | |
} | |
#message-form { | |
text-align: center; | |
position: fixed; | |
left: 0; | |
bottom: 0; | |
width: 100%; | |
background-color: #b7b5b9; | |
} | |
input { | |
width: 70%; | |
height: 30px; | |
} | |
button { | |
width: 25%; | |
height: 38px; | |
} | |
.sent { | |
text-align: right; | |
background-color: #a79cb3; | |
margin-left: 50%; | |
} | |
.sent span { | |
margin-left: 5px; | |
color: #6929ca; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment