UNPKG

react-js-loader

Version:
89 lines (82 loc) 1.93 kB
.sl-bubble3, .sl-bubble3 * { padding: 0; margin: 0; -webkit-box-sizing: border-box; box-sizing: border-box; } .sl-bubble3 { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; } .sl-bubble3 .sl-loader { width: 100px; -webkit-transform: scale(var(--size)); transform: scale(var(--size)); } .sl-bubble3 .sl-loader-title { padding-top: 10px; width: 100%; color: var(--cl); font-weight: 700; font-size: 20px; line-height: 1.7; text-align: center; } .sl-bubble3 .sl-loader .sl-loader-items { width: 100%; height: 100px; position: relative; } .sl-bubble3 .sl-loader .sl-loader-items .sl-bubble { width: 0; height: 0; position: absolute; top: 50%; left: 50%; background-color: var(--bg); border-radius: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); -webkit-animation: sl-bubble3 1200ms linear infinite; animation: sl-bubble3 1200ms linear infinite; -webkit-animation-delay: calc(var(--i) * -400ms); animation-delay: calc(var(--i) * -400ms); } @-webkit-keyframes sl-bubble3 { from { width: 15px; height: 15px; opacity: 1; } to { width: 80px; height: 80px; opacity: 0; } } @keyframes sl-bubble3 { from { width: 15px; height: 15px; opacity: 1; } to { width: 80px; height: 80px; opacity: 0; } }