@jono-vu/css-slider v1.0.4
/\ \/\ \/\ \ /\ \/\ \ /\ \/\ -./\ _\/\ == \
\ \ _\ _ \ _ \ \ _ \ \ _\ \ \ \ \/\ \ \ \ \ <
\ ___\/___\/___\ \/___\ ___\ _\ __-\ ___\ _\ _\
\/_/\/_/\/_/ \/_/\/_/\/_/\/__/ \/___/\// //
Utility for producing pure CSS sliders. The slider will stretch to fit its parent container.
Modify /input.ts
to override default parameters.
Run yarn
to install dev dependencies + prettier.
Run yarn start
to compile to /output folder.
options { classPrefix prefix every class name to uniq-ify them. CSSVariables color-primary color of all UI elements. margin space between arrow and thumb track elements. thumb-size size of thumbs and gap between thumbs. fade-duration length of slide transition in seconds. minify whether or not to minify the css + html outputs. They will be prettified by default. infinite whether or not the slides loop infinitely. }