1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | .flashybtn { display: block; text-align: center!important; text-decoration: none!important; font-weight: 800!important; font-size: 1.5em; text-transform: uppercase!important; color: #fff!important; padding: 1em 0.1em 1em 0.1em!important; background-size: 200% auto!important; box-shadow: 0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08)!important; background-image: linear-gradient(to right,#ff473d 0%,#ff379d 50%,#f13790 100%)!important; animation: gradient 1.5s ease infinite!important; width: 100%; position: relative; //change to fixed to make it sticky bottom: 0; left:0; z-index: 9999; } .flashybtn:before { content: ""; display: inline-block; position: absolute; background: rgb(255,255,255); width: 30px; height: 2em; left: 0; bottom: 0; filter: blur(1.5em); animation: 2s glaze infinite; } @keyframes glaze{ from{ transform: translateX(0) skewX(-15deg); opacity:1; } to { transform: translateX(100vw) skewX(-15deg); opacity:1; } } |
Leave a Reply