useTransforms: false
и useCSS: false
, при них слайды вообще не двигаются.$('.slider').slick({
speed:500,
easing: 'ease-in-out',
autoplay:true,
autoplaySpeed:7500,
touchTreshold:1,
slidesToScroll:1,
slidesToShow:3,
touchMove:true,
waitForAnimate:true,
centerMode:true,
variableWidth:true,
useTransforms: false,
useCSS: false,
});
.slider {
min-width: 0;
max-width: 900px;
position: relative;
margin: 0 auto;
display: flex;
flex: 1 1 auto;
justify-content: center;
align-items: center;
flex-direction: row;
height: 340px;
overflow: hidden;
}
.slick-track {
display: flex;
height: 280px;
align-items: center;
flex-direction: row;
}
.slick-arrow {
height: 100%;
width: 58px;
position: absolute;
font-size: 0;
z-index: 12;
background-color: transparent;
}
.slick-arrow:before,
.slick-arrow:after {
content: '';
background-color: #000;
width: 1px;
height: 35px;
display: block;
position: absolute;
top: 50%;
}
.slick-arrow.slick-prev {
left: 0;
box-shadow: inset 36px 0px 21px -2px #fff;
}
.slick-arrow.slick-next {
right: 0;
box-shadow: inset -36px 0px 21px -2px #fff;
}
.slick-arrow.slick-prev:before {
position: absolute;
transform: skew(45deg);
left: 25px;
}
.slick-arrow.slick-next:after {
position: absolute;
transform: skew(-45deg);
right: 25px;
}
.slick-arrow.slick-next:before {
transform: skew(45deg);
position: absolute;
right: 25px;
margin-top: -35px;
}
.slick-arrow.slick-prev:after {
position: absolute;
transform: skew(-45deg);
left: 25px;
margin-top: -35px;
}
.slick-list {
overflow: hidden;
}
.slider__item {
background-color: #fff;
box-shadow: 0px 0px 10px -7px #000;
width: 200px;
position: relative;
height: 260px;
overflow: hidden;
margin: 0 40px;
}