JavaScript
1
Вклад в тег
$('.gallery').slick({
slidesToShow: 2,
slidesToScroll: 2,
responsive: [
{
breakpoint: 768,
settings: {
slidesToShow: 1,
slidesToScroll: 1
}
}
]
});
@media screen and (width:768px) {
body { background: #fc0; }
}
@media screen and (min-width:320px) {
body { background: #fc0; }
}
@media screen and (max-width:1200px) {
body { background: #fc0; }
}