YorKnEz

Relevant Chatroom.css

Apr 6th, 2021
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. .message {
  2. position: relative;
  3. padding: 6px 10px;
  4. border-radius: 8px;
  5. margin-bottom: 5px;
  6. color: white;
  7. box-shadow: 0px 0px 8px #22262a;
  8.  
  9. word-break: break-all;
  10. overflow-wrap: break-word;
  11. hyphens: auto;
  12. line-break: anywhere;
  13. max-width: 40vw;
  14. z-index: 100;
  15. flex: 1 0 0;
  16. display: flex;
  17. }
  18. .message img {
  19. flex: 1 0 0;
  20. }
  21. .message-received {
  22. background: linear-gradient(to bottom, #73808c, #5c6670);
  23. border-top-left-radius: 0px;
  24. }
  25. .message-sent {
  26. background: linear-gradient(to bottom, #20b2aa, #1b9891);
  27. border-top-right-radius: 0px;
  28. }
Advertisement
Add Comment
Please, Sign In to add comment