Commit 57007a4a by Pham Huy

update responsive

parent e105fa63
...@@ -43,7 +43,35 @@ $(document).ready(function(){ ...@@ -43,7 +43,35 @@ $(document).ready(function(){
dots: true, dots: true,
infinite: true, infinite: true,
slidesToShow: 3, slidesToShow: 3,
slidesToScroll: 3, slidesToScroll: 1,
autoplaySpeed: 2000, autoplaySpeed: 2000,
responsive: [
{
breakpoint: 1024,
settings: {
slidesToShow: 3,
slidesToScroll: 1,
infinite: true,
dots: true
}
},
{
breakpoint: 660,
settings: {
slidesToShow: 1,
slidesToScroll: 1
}
},
{
breakpoint: 480,
settings: {
slidesToShow: 1,
slidesToScroll: 1
}
}
// You can unslick at a given breakpoint now by adding:
// settings: "unslick"
// instead of a settings object
]
}); });
}) })
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment