/codrops-masked-hero

Primary LanguageJavaScriptMIT LicenseMIT

Hero Mask Animation

Animating a CSS mask based on cursor position using GSAP and custom properties.

Hero section with CSS mask

Article on Codrops

Demo

Installation

Install dependencies:

npm install

Compile the code for development and start a local server:

npm start

Create the build:

npm run build

Misc

Follow Michelle: Twitter, GitHub

Follow Codrops: Twitter, Facebook, GitHub, Instagram

License

MIT

Made with 💙 by Codrops