:root { --columns: 12; } /* original from https://loading.io/css/ */ .lds-ripple { display: inline-block; position: absolute; width: 80px; height: 80px; } .lds-ripple div { position: absolute; border: 4px solid rgb(226, 29, 29); opacity: 1; border-radius: 50%; animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite; } .lds-ripple div:nth-child(2) { animation-delay: -0.5s; } @keyframes lds-ripple { 0% { top: 36px; left: 36px; width: 0; height: 0; opacity: 1; } 100% { top: 0px; left: 0px; width: 72px; height: 72px; opacity: 0; } } .loader-container{ display: grid; } .loader-content{ grid-area: 1 / 1; } .loader-overlay{ grid-area: 1 / 1; /* background-color: rgba(127, 127, 127, 0.5); border: 10px solid red; */ /* justify-self: stretch; align-self: stretch; */ }