Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .message {
- position: relative;
- padding: 6px 10px;
- border-radius: 8px;
- margin-bottom: 5px;
- color: white;
- box-shadow: 0px 0px 8px #22262a;
- word-break: break-all;
- overflow-wrap: break-word;
- hyphens: auto;
- line-break: anywhere;
- max-width: 40vw;
- z-index: 100;
- flex: 1 0 0;
- display: flex;
- }
- .message img {
- flex: 1 0 0;
- }
- .message-received {
- background: linear-gradient(to bottom, #73808c, #5c6670);
- border-top-left-radius: 0px;
- }
- .message-sent {
- background: linear-gradient(to bottom, #20b2aa, #1b9891);
- border-top-right-radius: 0px;
- }
Advertisement
Add Comment
Please, Sign In to add comment