一种简单方便快捷的页面预加载模块动画

前端 2020-03-18

TIM图片20200318141307.png

.van-skeleton--animate {

-webkit-animation: van-skeleton-blink 1.2s ease-in-out infinite;
animation: van-skeleton-blink 1.2s ease-in-out infinite

}

@-webkit-keyframes van-skeleton-blink {

50% {
    opacity: .2
}

}

@keyframes van-skeleton-blink {

50% {
    opacity: .2
}

}