@fylgja/scroll-slider
v1.1.1
Published
The Fylgja scroll-slider component
Downloads
151
Readme
Fylgja - Scroll-slider
This CSS slider component allows you to make sliders with ease, and has no requirements to any Javascript.
The only reason to add some additional Javascript, would be to add extra supporting functions.
Like a navigation and a active state.
Installation
npm install @fylgja/scroll-slider
Then include the component in to your code via;
@use "@fylgja/scroll-slider";
// Or via PostCSS import
@import "@fylgja/scroll-slider";
@layer
support
If you need support for @layer
,
use the following import;
@use "@fylgja/scroll-slider" with ($scroll-layer: "components");
// Or via native CSS import, also supported by PostCSS import
@import "@fylgja/scroll-slider" layer("components");
How to use
For more information see the scroll-slider docs on the Fylgja.dev.