About 12
A vertically stacked portrait-and-detail photo composition where the main portrait reveals through an animated shape-mask expansion.
Requirements
HTML, CSS, JavaScript
Dependencies
None
Usage
Copy index.html, styles.css and script.js into your project.
About About 12
About 12 is an about section in the About Sections collection, available in HTML + CSS + JavaScript and React + TypeScript + Tailwind CSS. Last updated August 24, 2026.
- about
- bio
- stacked-media
- clip-path
- mask-reveal
- portrait
- industrial-design
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-labelledby.
- HTML elements used: section, img.
- Includes a prefers-reduced-motion rule for its animation.
- Responsive CSS breakpoints at 640px, 1024px.
- The demo imagery is loaded from Unsplash.
React + TypeScript + Tailwind CSS
3 files: About12.jsx, About12.types.ts, About12.tailwind.css
- Typed data shapes: StackedMedia.
- Uses React hooks: useEffect, useRef.
- ARIA in the markup: aria-labelledby.
- HTML elements used: section, img.
- Includes a prefers-reduced-motion rule for its animation.
- Responsive Tailwind breakpoints used: sm, lg.
- The demo imagery is loaded from Unsplash.