April 8, 2026SimpleHover & Reveals
Clip-Path Polygon Video Reveal
Image or video is collapsed to a horizontal line using clip-path polygon. On hover it expands to full rectangle while rising upward. A distinctive hover interaction using pure CSS.
Preview
Source
import styles from "./styles.module.css";
export default function ClipPathPolygonVideoReveal({ projects = [] }) {
return (
<div className={styles.grid}>
{projects.map((project) => (
<a key={project.title} href={project.href} className={styles.card}>
<div className={styles.videoWrap}>
<div
className={styles.video}
style={{ backgroundImage: `url(${project.image})` }}
/>
</div>
<div className={styles.info}>
<span className={styles.title}>{project.title}</span>
<span className={styles.category}>{project.category}</span>
</div>
</a>
))}
</div>
);
}