Collection of free HTML and CSS <figure> & <figcaption> code examples (with little JS). Update of July 2020 collection. 2 new items.

Related Articles

  1. CSS Thumbnails
  2. CSS Image Effects

Author

  • Christine Black

Made with

  • HTML / CSS

About a code

Sold Animation

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: -

Author

  • Kim Min Seob

Made with

  • HTML / CSS

About a code

Hover

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: -

Author

  • Chris Coyier

Made with

  • HTML / CSS (SCSS)

About a code

Sticky Figcaption with Protruding Figure

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: -

Demo image: Realistic Polaroid Figures

Author

  • Kyle Foster

Made with

  • HTML / CSS

About the code

Realistic Polaroid Figures

Realistic polaroid figures in HTML and CSS.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: -

Author

  • Joshua Ward

Made with

  • HTML (Pug) / CSS (SCSS)

About the code

A figure with a figcaption

A figure with a figcaption... and .date that all:hovers.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: -

Demo image: Figure & Figcaption Figure & Figcaption - GIF Demo

Author

  • Tobias Glaus

Made with

  • HTML / CSS (SCSS) / JavaScript

About the code

Figure & Figcaption

Image with caption using HTML figure and figcaption tags.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Dependencies: jquery.js

Author

  • Roxy

Made with

  • HTML / CSS (SCSS)

About a code

Figure & Figcaption

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: -

Author

  • Abhi

Made with

  • HTML / CSS / JS

About a code

Figure & Figcaption

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: jquery.js, jquery-ui.js

Demo image: Gallery with Figure & Figcaption

Author

  • Booligoosh

Made with

  • HTML / CSS

About the code

Gallery with Figure & Figcaption

Parallax image gallery using figure & figcaption tags.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Dependencies: -

Demo image: Figure & Figcaption with CSS

Author

  • miazura

Made with

  • HTML / CSS (SCSS) / JavaScript (Babel)

About the code

Figure & Figcaption with CSS

figure & figcaption using CSS flexbox and some simple styling.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Dependencies: -

Demo image: HTML Figure & Figcaption HTML Figure & Figcaption - GIF Demo

Author

  • Yanely Ramirez

Made with

  • HTML / CSS (SCSS)

About the code

HTML Figure & Figcaption

Simple example of thumbnails using HTML figure & figcaption tags and CSS.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Dependencies: -

Demo image: Playful CSS Figure & Figcaption Playful CSS Figure & Figcaption - GIF Demo

Author

  • Piotr Galor

Made with

  • HTML / CSS

About the code

Playful CSS Figure & Figcaption

Pure CSS, no libs and stuff.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Dependencies: -

Demo image: Use Alt Tags in IMG Captions

Author

  • Brett Thurston

Made with

  • HTML / CSS / JavaScript

About the code

Use Alt Tags in IMG Captions

Example of how to use alt to print to your img captions. Handy for SEO purposes. Credit to Josh Emrich for his Campy Creature Invader artwork. And JavaScript by CodeJoust on StackExchange.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Dependencies: jquery.js

Demo image: HTML Figure & Figcaption

Author

  • parph

Made with

  • HTML (Haml) / CSS (Sass)

About the code

HTML Figure & Figcaption

Minimalistic pure CSS carousel with HTML figure and figcaption.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Dependencies: -

Demo image: Figure & Caption Figure & Caption - GIF Demo

Author

  • Guillaume

Made with

  • HTML / CSS

About the code

Figure & Caption

Animated image thumbnail.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Dependencies: -

Demo image: Responsive Image Labels

Author

  • Stephen Lee

Made with

  • HTML / CSS (SCSS)

About the code

Responsive Image Labels

Using figcaption to add multiple labels to an image. By changing a CSS variable with media queries, the labels can adjust to a wide variety of screen sizes.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Dependencies: -

Author

  • Joshua Ward

Made with

  • HTML / CSS (SCSS)

About a code

Figure + Figcaption

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: -

Demo image: Interactive Inky Interactive Inky - GIF Demo

Author

  • ycw

Made with

  • HTML (Pug) / CSS / JavaScript

About the code

Interactive Inky

figcaption text segments as legends pointing out portion of figure content.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Dependencies: -

Demo image: Figure & Figcaption with CSS Hover Effect

Author

  • Artem

Made with

  • HTML (Haml) / CSS (Sass)

About the code

Figure & Figcaption with CSS Hover Effect

Image hover transition with CSS variables.

Compatible browsers: Chrome, Firefox, Opera, Safari

Dependencies: -

Demo image: Playful Figure/Figcaption Playful Figure/Figcaption - GIF Demo

Author

  • Isman Fromes

Made with

  • HTML (Pug) / CSS (Less) / JavaScript

About the code

Playful Figure/Figcaption

A try to a more playful figure/figcaption.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Dependencies: jquery.js, TweenMax.js

Demo image: Picture Cards - Figure & Figcaption Picture Cards - Figure & Figcaption - GIF Demo

Author

  • Cátia Campos

Made with

  • HTML / CSS

About the code

Picture Cards - Figure & Figcaption

Image cards (polaroid style) with description on the back. Hover over the images to see the effect. HTML & CSS.

Compatible browsers: Chrome, Edge, Opera, Safari

Dependencies: -

Demo image: Figure + Figcaption Figure + Figcaption - GIF Demo

Author

  • Ryan Mulligan

Made with

  • HTML (Pug) / CSS (SCSS)

About the code

Figure + Figcaption

My faux trip as told through figures and figcaptions.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Dependencies: -

Demo image: Interactive Pile O’ Polaroids

Author

  • Jon Wilcox

Made with

  • HTML / CSS (Less) / JavaScript

About the code

Interactive Pile O’ Polaroids

Toss the photos around or click for a larger version. Photos and captions (authors) are a random selection from "Lorem Picsum". "GreenSock Draggable" for the interaction.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Dependencies: jquery.js, draggable.js, ThrowPropsPlugin.js, TweenLite.js, CSSPlugin.js

Demo image: Figure & Figcaption Tags Figure & Figcaption Tags - GIF Demo

Author

  • Elise

Made with

  • HTML / CSS

About the code

Figure & Figcaption Tags

figure and figcaption ... and a beautifull David Harris's poem.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Dependencies: -

Demo image: Lazy Loading Figure + Figcaption & Flipping Card Lazy Loading Figure + Figcaption & Flipping Card - GIF Demo

Author

  • Alex Paul

Made with

  • HTML / CSS / JavaScript

About the code

Lazy Loading Figure + Figcaption & Flipping Card

figure & figcaption combo with some extra features in the form of a short description added on hover of the caption and the back side of the figure for a full description. Can be used in a portfolio to showcase both the work and an extensive description in a relatively small space.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Dependencies: font-awesome.css

Demo image: Typing Effect Typing Effect - GIF Demo

Author

  • Natalia Kuznetsova

Made with

  • HTML / CSS / JavaScript

About the code

Typing Effect

Typing caption on hover.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Dependencies: jquery.js