Sid Gifari File Manager
🏠 Root
/
home
/
ailwtbdh
/
public_html
/
wp-content
/
plugins
/
element-ready-lite
/
assets
/
css
/
widgets
/
Editing: video-button copy.css
/* ----------------------- VIDEO BUTTON ------------------------- */ .video__play__button { background: #4528EB; box-shadow: 0 8px 16px rgba(0,0,0,.3); color: #ffffff; border-radius: 50%; box-sizing: content-box; display: block; font-size: 80px; height: 80px; left: 50%; position: absolute; text-align: center; top: 50%; transform: translateX(-50%) translateY(-50%); transition: 0.3s; width: 80px; z-index: 1; } .video__play__button:before { -webkit-animation: pulse-border 1500ms ease-out infinite; animation: pulse-border 1500ms ease-out infinite; background: #4528EB; border-radius: 50%; content: ""; display: block; height: 100%; left: 50%; position: absolute; top: 50%; transform: translateX(-50%) translateY(-50%); width: 100%; z-index: -1; } @-webkit-keyframes pulse-border { 0% { transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1); opacity: 1; } 100% { transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5); opacity: 0; } } @keyframes pulse-border { 0% { transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1); opacity: 1; } 100% { transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5); opacity: 0; } } /* ----------------------- VIDEO BUTTON ALT ------------------------- */ .video__popup__button { display: inline-flex; align-items: center; cursor: pointer; } .video__popup__button .button__icon { position: relative; width: 50px; height: 50px; } .video__popup__button .button__icon { background: #4528EB; box-shadow: 0 8px 16px rgba(0,0,0,.3); color: #ffffff; border-radius: 50%; box-sizing: content-box; display: block; font-size: 22px; height: 50px; transition: 0.3s; position: relative; text-align: center; width: 50px; z-index: 1; margin-right: 10px; line-height: 1; } .video__popup__button .button__icon i { padding-top: 14px; padding-left: 5px; } .video__popup__button .button__icon:before { -webkit-animation: pulse-border 1500ms ease-out infinite; animation: pulse-border 1500ms ease-out infinite; background: #4528EB; border-radius: 50%; content: ""; display: block; height: 100%; left: 50%; position: absolute; top: 50%; transform: translateX(-50%) translateY(-50%); width: 100%; z-index: -1; } @keyframes pulse-border { 0% { transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1); opacity: 1; } 100% { transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5); opacity: 0; } }
Save
Cancel