CTA 06
Dark product card whose photo drifts gently opposite the cursor — a pointer-driven parallax, not a preset entrance.
Requirements
HTML, CSS, JavaScript
Dependencies
None
Usage
Copy index.html, styles.css and script.js into your project.
About CTA 06
CTA 06 is a call-to-action section in the Call-to-Action Sections collection, available in HTML + CSS + JavaScript and React + TypeScript + Tailwind CSS. Last updated August 22, 2026.
- cta
- call to action
- dark
- photography
- parallax
- checklist
What the code includes
HTML + CSS + JavaScript
3 files: index.html, styles.css, script.js
- Behavior is handled in script.js.
- ARIA in the markup: aria-label.
- HTML elements used: section, ul, img, svg.
- Includes a prefers-reduced-motion rule for its animation.
- Responsive CSS breakpoints at 640px.
- The demo imagery is loaded from Unsplash.
React + TypeScript + Tailwind CSS
3 files: CTA06.jsx, CTA06.types.ts, CTA06.tailwind.css
- Typed data shapes: ChecklistItem.
- Uses React hooks: useRef.
- ARIA in the markup: aria-label.
- HTML elements used: section, ul, img, svg.
- Includes a prefers-reduced-motion rule for its animation.
- Responsive Tailwind breakpoints used: sm, lg.
- The demo imagery is loaded from Unsplash.