Advertisement
Guest User

Untitled

a guest
Feb 24th, 2020
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. <div class="play-button-container">
  2. <div class="play-button">
  3. <svg style="margin-top: 108px;margin-left: 45px;">
  4. <polygon points="10 33 10 1 34 17"></polygon>
  5. </svg>
  6. </div>
  7. </div>
  8.  
  9.  
  10. <style>
  11. .play-button-container {
  12. width: 164px;
  13. height: 164px;
  14. border-radius: 100px;
  15. -webkit-border-radius: 100px;
  16. -moz-border-radius: 100px;
  17. display: -webkit-box;
  18. display: flex;
  19. -webkit-box-align: center;
  20. align-items: center;
  21. -webkit-box-pack: center;
  22. justify-content: center;
  23. background: -webkit-linear-gradient(330deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.2) 100%);
  24. background: linear-gradient(120deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.2) 100%);
  25. box-shadow: 0 24px 72px 0 rgba(0,0,0,.5);
  26. -webkit-transition: 300ms all cubic-bezier(.4,0,.2,1);
  27. transition: 300ms all cubic-bezier(.4,0,.2,1);
  28. }
  29. .play-button-container .play-button {
  30. z-index: 2;
  31. width: 120px;
  32. height: 120px;
  33. border-radius: 100%;
  34. background: #fff;
  35. box-shadow: 0 8px 16px 0 rgba(0,0,0,.3);
  36. display: -webkit-box;
  37. display: flex;
  38. -webkit-box-align: center;
  39. align-items: center;
  40. -webkit-box-pack: center;
  41. justify-content: center;
  42. -webkit-transition: 300ms all cubic-bezier(.4,0,.2,1);
  43. transition: 300ms all cubic-bezier(.4,0,.2,1);
  44.  
  45. }
  46.  
  47. </style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement