Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="play-button-container">
- <div class="play-button">
- <svg style="margin-top: 108px;margin-left: 45px;">
- <polygon points="10 33 10 1 34 17"></polygon>
- </svg>
- </div>
- </div>
- <style>
- .play-button-container {
- width: 164px;
- height: 164px;
- border-radius: 100px;
- -webkit-border-radius: 100px;
- -moz-border-radius: 100px;
- display: -webkit-box;
- display: flex;
- -webkit-box-align: center;
- align-items: center;
- -webkit-box-pack: center;
- justify-content: center;
- background: -webkit-linear-gradient(330deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.2) 100%);
- background: linear-gradient(120deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.2) 100%);
- box-shadow: 0 24px 72px 0 rgba(0,0,0,.5);
- -webkit-transition: 300ms all cubic-bezier(.4,0,.2,1);
- transition: 300ms all cubic-bezier(.4,0,.2,1);
- }
- .play-button-container .play-button {
- z-index: 2;
- width: 120px;
- height: 120px;
- border-radius: 100%;
- background: #fff;
- box-shadow: 0 8px 16px 0 rgba(0,0,0,.3);
- display: -webkit-box;
- display: flex;
- -webkit-box-align: center;
- align-items: center;
- -webkit-box-pack: center;
- justify-content: center;
- -webkit-transition: 300ms all cubic-bezier(.4,0,.2,1);
- transition: 300ms all cubic-bezier(.4,0,.2,1);
- }
- </style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement