hexo-theme-stellar/source/css/_common/loading.styl

20 lines
363 B
Stylus

svg.loading
display: block
position: absolute
color: var(--text-p3)
z-index: -1
width: 100%
height: 2rem
margin: auto
animation: spin infinite 2s
animation-timing-function: linear
@keyframes spin
from
transform:rotate(0deg)
to
transform:rotate(360deg)
.loading-wrap
min-height: 50px
margin: 2rem 0
text-align: center