A set of video cards with a centered play button overlay, built with pure CSS and no JavaScript. Each card shows a photo thumbnail, a frosted glass play button with a pulse ring, a duration badge and the episode title. Use it for video libraries, course lessons, podcast episodes, tutorial hubs or a "latest videos" block on a landing page.
How it works
The root section.vc-section holds a header (.vc-kicker, .vc-heading and the .vc-all link) and the .vc-grid. Every article.vc-card contains a .vc-media box with the .vc-img thumbnail, the decorative .vc-play button, an optional .vc-chip label and the .vc-duration badge, followed by .vc-body with the title and .vc-meta line.
The .vc-media::after layer adds a vignette and a bottom gradient so white icons and badges stay readable on bright photos. .vc-play is centered with translate(-50%, -50%), blurred with backdrop-filter, and its ::before ring runs the vc-pulse keyframes. The title link .vc-link is stretched over the whole card through .vc-link::after, so a click anywhere on the card opens the video while the HTML keeps a single link per card. On hover or :focus-within the photo zooms, the play button fills with the accent color and grows.
The grid shows one column on phones, two columns from 640px with the featured card on top, and from 900px .vc-card--featured spans two rows on the left with its title placed over the photo.
Customization
--vc-accenton.vc-section: color of the kicker, the "Featured" chip, the link underline, the focus ring and the play button on hover.--vc-play-size: diameter of the play button; the featured card overrides it with5.5reminside the 900px media query.--vc-zoom: how far the thumbnail scales on hover, e.g.1to disable the zoom.--vc-bg,--vc-cardand--vc-muted: section background, card background and the color of the meta line.--vc-max: maximum width of the header and grid.- Remove
.vc-card--featuredfrom the first card to get three equal cards, or delete the.vc-chipspan to hide the label. grid-template-columns: 1.65fr 1fron.vc-grid(900px media query): change the width of the featured column.
The thumbnails are photos from Unsplash; replace them with your own video posters at a 16:9 ratio.
Use cases
- Video libraries: photo thumbnails with a frosted play button invite visitors to watch
- Course sites: duration badges show how long each lesson is
- Media sites: a featured card layout highlights the main video
- Tutorial pages: a pulse ring around the play button draws attention
Accessibility
Each card has exactly one link, the heading link, so screen readers announce the video title instead of a vague "play" label. The play icon is aria-hidden, and the duration badge contains a visually hidden "Duration" prefix. The stretched link draws a 3px accent outline around the whole card on :focus-visible, and keyboard focus triggers the same zoom and button highlight as hover. Every thumbnail has a descriptive alt text and explicit dimensions. Under prefers-reduced-motion the pulse ring, zoom and transitions are switched off.
Usage notes
Point each .vc-link to the video page, or open a lightbox player from your own script. Several sections can share a page because all styles are scoped to .vc- classes.