UNPKG

@nisix/ngx-loader

Version:
27 lines (24 loc) 424 B
.ngx-loader-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.4); display: flex; justify-content: center; align-items: center; } .ngx-loader { width: 50px; height: 50px; border: 6px solid #ccc; border-top-color: #3f51b5; border-radius: 50%; animation: spin 1s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } }