.carousel

The carousel is based on the native horizontal scrollbar, which basically works even before JS loaded. In other words it works as it is without running any calculations. On smart phones it is scrolled by swipes. On desktops by touchpad.

However, on desktops this is not so obvious, so we add arrow buttons. Clicking them simply scrolls the area to the width of a few tiles. More precisely, the width of the tile multiplied by the value, passed in data-step="3".



Details





.carousel--skin-venue

This modifier is created with .venue in mind. Those tiles require special treatment because there the shadow is clipped by the overflow of the carousel. Plus there are specific widths of tiles at different resolutions.