hooper
hooper copied to clipboard
Center mode don't work
Center mode don't work on mobile.
Expected behavior When breakpoint is actived, center one slide.
Screenshots https://gyazo.com/2b4651935f0fe75322197898c26fcde6
Desktop (please complete the following information): Chrome on resized window
Hey!
just helped my self. To get a centerMode effect you can use the css classes like:
(stylus css)
.hooper-slide {
transition: all 0.3s ease
&:not(.is-current) {
transform: scale(0.7)
}
}