-
Notifications
You must be signed in to change notification settings - Fork 0
Home
The lib directory contains the source files and the build directory, where pre-minified Javascript and CSS files reside. Clone or download the repository to extract these files and import them into your project.
For details on how to call scrollCarousel() and what your HTML structure should look like, visit the How it works section of the API Documentation
The example.html file in the dev directory uses the minified css/js source files in lib/build. If you make changes to the sass or javascript files locally and would like to test them, you will need Gulp 4 installed.
- Run
gulpto compile your changes to the build folder. - Run
gulp watchto continuously update the minified files in thebuildfolder any time you make a change.
As documented here. When you want to create space around the carousel items, the padding/margin will not create the space at the end of the overflowed carousel element. I am using the :after pseudoelement fix from the afore-linked article in my example files in this repository.
More to come
To come