This template provides a tutorial to demonstrate how to load custom JavaScript and CSS files for the cover and image blocks to create a simple fade-in effect when the block is scrolled into view
npx @wordpress/create-block example-plugin --template @block-developer-cookbook/simple-fade-effect
-
start
- scaffolds starting files for the tutorial -
completed
- scaffolds the completed files for the tutorial
The tutorial can be found in the main README.md file of the generated plugin or at https://blockdevelopercookbook.com/recipes/simple-fade-in-effect/