github.com/mithrandie/csvq@v1.18.1/docs/_sass/components/_pulse.scss (about) 1 .pulse { 2 &::before { 3 content: ''; 4 display: block; 5 position: absolute; 6 width: 100%; 7 height: 100%; 8 top: 0; 9 left: 0; 10 background-color: inherit; 11 border-radius: inherit; 12 transition: opacity .3s, transform .3s; 13 animation: pulse-animation 1s cubic-bezier(0.24, 0, 0.38, 1) infinite; 14 z-index: -1; 15 } 16 17 overflow: initial; 18 position: relative; 19 } 20 21 @keyframes pulse-animation { 22 0% { 23 opacity: 1; 24 transform: scale(1); 25 } 26 50% { 27 opacity: 0; 28 transform: scale(1.5); 29 } 30 100% { 31 opacity: 0; 32 transform: scale(1.5); 33 } 34 }