The problem is that the slick slider div has overflow: hidden; so the box-shadows of the slides divs keep getting cut off.
Anybody ran into this problem too?
Here is a little fiddle demonstrating the problem: https://jsfiddle.net/2zvcud0u/
HTML
<div class="slider row">
<div class="col-sm-4">
<div class="drop-shadow">
<div class="content">
<p>Lorem ipsum dolor sit amet</p>
</div>
</div>
</div>
<div class="col-sm-4">
<div class="drop-shadow">
<div class="content">
<p>Lorem ipsum dolor sit amet</p>
</div>
</div>
</div>
<div class="col-sm-4">
<div class="drop-shadow">
<div class="content">
<p>Lorem ipsum dolor sit amet</p>
</div>
</div>
</div>
<div class="col-sm-4">
<div class="drop-shadow">
<div class="content">
<p>Lorem ipsum dolor sit amet</p>
</div>
</div>
</div>
</div>
</div>
CSS
.row{
margin: 20px 0;
}
.drop-shadow {
box-shadow: 0px 0px 43px 0px rgba(0, 0, 0, 0.35);
}
.content{
margin: 10px;
}
JS
$('.slider').slick({
autoplay: false,
dots: false,
arrows: false,
infinite: false,
speed: 300,
slidesToShow: 3,
slidesToScroll: 1,
swipeToSlide: true,
responsive: [{
breakpoint: 992,
settings: {
slidesToShow: 2
}
}, {
breakpoint: 768,
settings: {
slidesToShow: 1
}
}]
});
Thanks for any suggestions