Skip to content

juanfuent-es/scroll_parallax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Variable Font / ScrollTrigger

Exploration with variable fonts and ScrollTrigger

ScrollTrigger by https://greensock.com/scrolltrigger/

Getting started

Clone this repository and install its dependencies:

git clone https://github.com/juanfuent-es/scroll_parallax
cd scroll_parallax
npm install

The public/index.html file contains a <script src='bundle.js'> tag, which means we need to create public/bundle.js. The rollup.config.js file tells Rollup how to create this bundle, starting with src/main.js and including all its dependencies, including date-fns.

npm run build builds the application to public/bundle.js, along with a sourcemap file for debugging. npm start launches a server, using serve. Navigate to localhost:3000. npm run watch will continually rebuild the application as your source files change. npm run dev will run npm start and npm run watch in parallel.

License

MIT.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published