Map and motion

Swiper carousel

Property cards in a draggable carousel, plus a coverflow version with a centered card. Made with Swiper.

Carousel

Property cards in a row. Drag, use the arrows or the scrollbar. About three cards show on desktop, two on tablets and one and a bit on phones, so the next card always peeks in.

Latest on the market

Coverflow

The middle card stands out and the others tilt behind it. It moves by itself and pauses when you touch it.

Classes and attributes

NamePurpose
data-swiper="carousel" + .sw-carouselFree-drag row with snap, keyboard control and breakpoints (1.1, 2.1, 3.1, 3.6 cards).
data-swiper="coverflow" + .sw-coverflowCentered slides with the coverflow effect, loop and autoplay.
.sw-nav with .sw-prev / .sw-nextRound arrow buttons. Add .sw-nav--light on dark backgrounds.
.sw-dots + .swiper-paginationPill-shaped bullets. The active one grows.
.sw-bar + .swiper-scrollbarDraggable scrollbar under the carousel.
.sw-headTitle row with the arrows on the right.
data-swiper-scopeOn a wrapper. The script looks for the arrows, bullets and scrollbar inside it, so two sliders on one page never mix up.