simple-two-images-parallax
v0.0.2
Published
An Astro component that generates a smooth two-layer parallax effect using two images, creating depth and motion
Maintainers
Readme
simple-two-images-parallax
An Astro component that generates a smooth two-layer parallax effect using two images, creating depth and motion
Installation 📖
# You can intall with npm
npm install simple-two-images-parallax
# or with yarn
yarn add simple-two-images-parallax
# or with pnpm
pnpm add simple-two-images-parallaxUsage ⚙️
---
import SimpleTwoImagesParallax from 'simple-two-images-parallax';
---
<SimpleTwoImagesParallax
imageWithFormatPng="https://20essentials.github.io/project-1299/assets/unicorn.png"
backgroundImage="https://20essentials.github.io/project-1299/assets/fondo.avif"
/>
