UNPKG

ayovue

Version:

A progressive vue components library designed to simplify and accelerate your web development process.

41 lines (39 loc) 866 B
.a-loading { position: relative; pointer-events: none; } .a-loading::before { position: absolute; content: ''; top: 0; left: 0; right: 0; bottom: 0; opacity: 0.85; background: inherit; -webkit-backdrop-filter: blur(0.06em); backdrop-filter: blur(0.06em); } .a-loading::after { position: absolute; box-sizing: border-box; content: ''; top: calc(50% - 0.65em); left: calc(50% - 0.65em); width: 1.3em; aspect-ratio: 1 / 1; border: 0.26em solid currentColor; border-top: 0.26em solid transparent; border-radius: 50%; transform: translate(-50%, -50%); animation: spinLoader 1.1s infinite linear; /* box-shadow: 0px 0px 50rem 50rem var(--loader-background); */ } @keyframes spinLoader { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }