/* HTML:
*/ .loader { height: 30px; aspect-ratio: 1; display: grid; background: radial-gradient(farthest-side,#000 15%,#0000 18%), radial-gradient(50% 100% at 50% 160%,#fff 95%,#0000) top/100% 50%, radial-gradient(50% 100% at 50% -60%,#fff 95%,#0000) bottom/100% 50%; background-repeat: no-repeat; } .loader:before { content: ""; background: inherit; opacity: 0.6; animation: l1 1s infinite; } @keyframes l1 { to {transform:scale(3);opacity:0} } /* HTML:
*/ .loaderakn { width: 120px; height: 20px; background: linear-gradient(90deg,#0001 33%,#0005 50%,#0001 66%) #f2f2f2; background-size:300% 100%; animation: l1 1s infinite linear; } @keyframes l1 { 0% {background-position: right} } .akn-price span { display:flex; align-items: center; gap:10px; line-height:14px; animation:fade-in 3s ease-in forwards; } @keyframes fade-in { 0%{ opacity:0; } 60%{ opacity:0; } 100%{ opacity:1; } }