CTA 17
Full-bleed blue radial-gradient CTA whose soft spotlight highlight follows the pointer across the section.
Requirements
HTML, CSS, JavaScript
Dependencies
None
Usage
Copy index.html, styles.css and script.js into your project.
About CTA 17
CTA 17 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
- gradient
- full-bleed
- spotlight
- social proof
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, svg.
- Includes a prefers-reduced-motion rule for its animation.
- Responsive CSS breakpoints at 640px.
React + TypeScript + Tailwind CSS
3 files: CTA17.jsx, CTA17.types.ts, CTA17.tailwind.css
- Typed data shapes: AvatarChip.
- Uses React hooks: useRef.
- ARIA in the markup: aria-label.
- HTML elements used: section, svg.
- Includes a prefers-reduced-motion rule for its animation.
- Responsive Tailwind breakpoints used: sm, lg.