.SlidePanel .slick-slide .Slide{
display: block;
opacity: .1;
transition-delay: 0s;
transition-duration: 0.2s;
transition-property: opacity;
transition-timing-function: ease-out;
background-color: green;
}
.SlidePanel .slick-current .Slide {
display: block;
opacity: 1;
transition-delay: 0.3s;
transition-duration: 0.2s;
transition-property: opacity;
transition-timing-function: ease-in;
background-color: yellow;
}
.SlidePanel slick-current
function image() {
return gulp.src([path.source.img])
.pipe(cache(imagemin([
//png
imageminPngquant({
speed: 1,
quality: [0.8, 0.9] //lossy settings
}),
imageminZopfli({
more: true,
iterations: 30 // 50 very slow but more effective
}),
//svg
imagemin.svgo({
plugins: [{
removeViewBox: false
}]
}),
//jpg lossless
imagemin.jpegtran({
progressive: true
}),
//jpg very light lossy, use vs jpegtran
imageminMozjpeg({
quality: 75
})
])))
.pipe(gulp.dest(path.build.img));
}