Patterns icon indicating copy to clipboard operation
Patterns copied to clipboard

#1067 - Add responsive options to carousel

Open stefanbutura opened this issue 2 years ago • 1 comments

stefanbutura avatar Sep 22 '22 17:09 stefanbutura

What a great idea to add responsive support to pat-carousel.

As for the syntaxL: The system to work with numbers for sets of settings differs a bit from other Patterns. What about working with && sets instead, like we do with pat-inject? So for instance:

data-pat-carousel="slides-to-show: 3; infinite: true; dots: true; breakpoint: 1024 && slides-to-show: 2; breakpoint: 600 && slides-to-show: 1; breakpoint: 480"

cornae avatar Sep 23 '22 12:09 cornae