slick.js 图片加载完成后再显示

.slider2 { display: none; }
.slider2.slick-initialized { display: block; }

加上动画

.your-slider-wrapper {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease;
    -webkit-transition: opacity 1s ease;
}
.your-slider-wapper.slick-initialized {
    visibility: visible;
    opacity: 1;    
}

 

让我知道我不是在玩单机!

电子邮件地址不会被公开。 必填项已用*标注