174 CSS Cards

Cards are the fundamental building blocks of modern user interfaces. This collection demonstrates how to style these versatile containers to organize information into clean, digestible blocks. Explore a range of designs, from simple product displays to interactive dashboard widgets, all featuring subtle hover effects that invite user interaction and create a polished, professional look.

Last updated:

thumbnail: Jackie's Pet Store

Jackie's Pet Store

A responsive pet store landing page built with CSS Grid and Flexbox. It features a dynamic navigation system with hover-triggered mega-menus, gradient-styled product cards with scale transitions, and a comprehensive use of CSS variables for consistent theming across breakpoints.

thumbnail: Futuristic Card Effect

Futuristic Card Effect

A high-tech, cinematic profile card that responds to interaction with complex text animation, immersing the user in a sci-fi atmosphere.

thumbnail: Creative Section Design

Creative Section Design

A visually rich, animated section with cards that respond to hover (a colored border appears), creating a sense of interactivity and depth.

thumbnail: Round Cards

Round Cards

An aesthetic, minimalist gallery of circular elements where each card is uniquely composed (image on top, bottom, left, or right), creating visual variety within a strict grid.

thumbnail: Wall of Text: Blogged

Wall of Text: Blogged

A futuristic, interactive blog card featuring AI-generated content fetched dynamically via JavaScript. The layout utilizes advanced CSS techniques like :has() for expandable sections, masking and blend modes for rich graphical elements, and variable-driven cursor tracking animations, creating a dynamic and engaging reading experience.

thumbnail: Open Props Bento Grid

Open Props Bento Grid

A modern, visually appealing content grid that smoothly assembles on scroll, adapting seamlessly to any screen size.

thumbnail: Responsive Pricing Cards

Responsive Pricing Cards

A pleasant and responsive tariff selection interface where the user’s attention is focused on the viewed option through color accents and animation.

thumbnail: Rotating Navigation

Rotating Navigation

An interactive card stack that fans out into a deck-like display upon toggling. JavaScript handles the state transition by toggling classes, triggering CSS cubic-bezier transitions that rotate and translate the cards from a bottom-center origin, creating a smooth, elastic opening animation accompanied by a rotating navigation button.

thumbnail: Product Plan Cards with CSS Ribbons

Product Plan Cards with CSS Ribbons

A pure CSS pricing component that creates a dimensional ‘ribbon’ aesthetic solely through ::after pseudo-elements and clip-path geometry. The layout leverages CSS Custom Properties for distinct color themes and calc with negative margins to extend elements beyond the parent container, creating a folded paper effect without any JavaScript dependencies.

thumbnail: Pure CSS Pricing Plans with Gradient Ribbons

Pure CSS Pricing Plans with Gradient Ribbons

A pricing component where complex ribbon geometry is calculated via SCSS trigonometry and sculpted using conic-gradient alongside mask-composite. The organic, fluid connections between shapes are achieved through the filter: blur() contrast() technique, creating a scalable vector-like aesthetic entirely within CSS without relying on runtime JavaScript or external SVG assets.

thumbnail: Interactive Profile Card with Canvas

Interactive Profile Card with Canvas

Canvas-powered dot grid with interactive profile components. Responsive card design featuring smooth transitions, gradient accents, and scalable SVG avatars.

thumbnail: Art Deco Card

Art Deco Card

An elegant Art Deco style card created purely with CSS/SCSS, utilizing a sophisticated technique with pseudo-elements to construct complex, multi-layered geometric borders and corners.

thumbnail: Hot & Cold Swap Card

Hot & Cold Swap Card

An advanced UI component demonstrating pure CSS capabilities to create a complex 3D flip effect, with the added use of animated SVG strokes and CSS variables for an instant change of color scheme and media content.

thumbnail: The Witcher Monster Cards Slider

The Witcher Monster Cards Slider

Showcases a stylish, interactive monster card slider, utilizing pure HTML and CSS for complex design, custom typography, and subtle image animations with a zoom/lift effect on hover.

thumbnail: CSS-Only Character Profile Card with Tabs

CSS-Only Character Profile Card with Tabs

A stylish custom layout (character profile card) built entirely on CSS positioning and content switching using HTML radio inputs without JavaScript, effectively creating pure CSS tabs.

thumbnail: Responsive Banners with CSS Grid and Variables

Responsive Banners with CSS Grid and Variables

This component leverages the power of CSS Grid for precise layout control and CSS Custom Properties to dynamically inject data like color schemes. It features decorative CSS Counters and complex background layering for a polished, modern component without relying on JavaScript for styling.

thumbnail: Card Glow | Bioluminescence Effect

Card Glow | Bioluminescence Effect

Check out the smooth SVG animation achieved with CSS offset-path and keyframes, and the dynamic glow effect using the <feDropShadow> filter for a deep visual experience.

thumbnail: Card with Illumination Effect

Card with Illumination Effect

An example of how to achieve an impressive pseudo-3D interface using pseudo-elements (::before) and CSS transforms. The effect is built by layering elements (.light-layer, .darken) with different box-shadow and gradients to simulate the play of light and shadow on the surface.

thumbnail: Toggle Cards with Inverted Border-Radius

Toggle Cards with Inverted Border-Radius

A simple yet effective implementation of interactive cards using pure JavaScript for click handling. Visual effects, including the checkbox animation, are done entirely in CSS, while the responsive design is built with Sass.

thumbnail: Striped Box Shadow Effect

Striped Box Shadow Effect

The demo focuses on using CSS gradients to generate background patterns. Instead of relying on images, it creates a complex, repeating design with linear-gradient and background-size, which ensures high performance and flexibility in resizing the pattern.

Author Cards with Popover APIexternal link

The demo uses the new CSS position-anchor with the popover attribute for native and flexible positioning of hover cards relative to text links. The code applies minimal Vanilla JS solely to invoke the native popover.showPopover() method, showcasing the shift to declarative UI.

Skateboard Product Gridexternal link

This demo showcases a responsive grid built on modern CSS technologies: CSS Grid for layout, Custom Properties for centralized theme management, and Fluid Typography using clamp() for ’elastic’ font sizes. The key feature is a complex animation system, including a staggered appearance of cards and advanced :hover effects using animated SVG.

Animated Squiggly Border Glow Cardsexternal link

A card with a neon border effect where two CSS animations are synchronized - stroke-dashoffset for the SVG frame and hue-rotate for the drop-shadow glow. Each card gets a unique theme via :nth-child and the --cardAccent CSS variable, while multi-layering with z-index positions the glow underneath the main content.

Sleek Product Itemexternal link

This demo showcases advanced card styling, utilizing pure CSS for a complex gradient background, a hover shadow effect, and smooth image scaling.