scroll-parallax-effect
v0.4.0
Published
This plugin adds a parallax effect by changing the style sheet according to scrolling and by adding classes.
Downloads
12
Maintainers
Readme
scroll-parallax-effect
スクロールによって css の値を変更することができるプラグインです。
This plugin allows you to change css values by scrolling.
このプラグインには 3 つの機能があります。
This plugin has three functions.
- Timing : add a class when passing a specified position
- Speed : css changes according to the amount of scrolling
- Fit : change css according to distance traveled
Install
npm
npm install scroll-parallax-effect
yarn
yarn add scroll-parallax-effect
Document and Examples
Example
Typescript
Vanilla
SVG
Development
serve
yarn serve
build
npm run build
or
yarn build
test
yarn test
Previous versions
https://github.com/kamem/scrollParallax