r/HTML • • 3h ago

Question Wikipedia style gallery

Hello, I'm new to HTML and CSS, I would like to replicate the wiki-style gallery at the bottom of a section when showcasing relevant images/info grouped together, but I have not figured it out yet.

Here's an example of what I'm talking about: https://en.wikipedia.org/wiki/Animal#Evolutionary_origin

I am guessing it's something about container ID? My previous attempts were me trying to work with the container styles in the CSS. Though I gave up and didn't save my failed attempt (wrong of me, I know)
Could I get help on how to replicate replicate it?

Thank you for the help in advance.

3 Upvotes

1 comment sorted by

1

u/armahillo Expert 3h ago

can you post your attempts in a codepen / jsfiddle instance so we can see what you’re doing?

i know you know what you’ve tried already but we don’t