Advertisement
azizkhelifi

msget

Mar 26th, 2021
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.65 KB | None | 0 0
  1. HTML :
  2. <div class = "dashboard_msg">
  3. <div class = "msg-receive ">
  4. There are sometimes places where the fact that the logical and therefore reading order of flex items is separate from the visual order, is helpful. Used carefully the order property can allow for some useful common patterns to be easily implemented.
  5. </div>
  6. <div class = "msg-sent ">
  7. There are sometimes places where the fact that the logical and therefore reading order of flex items is separate from the visual order, is helpful. Used carefully the order property can allow for some useful common patterns to be easily implemented.
  8. </div>
  9. <div class = "msg-sent ">
  10. sdklfjsdklfjdslkjsdkl jfsdklj fsdlkjf sldkjf lskdjf lksdj flksdj lkfsdj flksdj lksfjdlkf jsdlk fjsdlkjf sldkjf
  11. </div>
  12. <div class = "msg-receive ">
  13. There are sometimes places where the fact that the logical and therefore reading order of flex items is separate from the visual order, is helpful. Used carefully the order property can allow for some useful common patterns to be easily implemented.
  14. </div>
  15. </div>
  16. CSS :
  17. .msg-receive {
  18. margin: 5px 5px;
  19. background-color: white;
  20. border-top-left-radius: 50px;
  21. border-top-right-radius: 5px;
  22. border-bottom-right-radius: 5px;
  23. padding: 20px;
  24. max-width: 40vw;
  25. align-self: flex-start;
  26. }
  27.  
  28. .msg-sent {
  29. margin: 5px 5px;
  30. background-color: #0084db;
  31. border-top-right-radius: 50px;
  32. border-top-left-radius: 5px;
  33. border-bottom-left-radius: 5px;
  34. padding: 20px;
  35. max-width: 40vw;
  36. align-self: flex-end;
  37. }
  38.  
  39. .dashboard_msg {
  40. background-color: gray;
  41. display: flex;
  42. flex-direction: column;
  43. }
  44.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement