Skip to main content

Tagged “objectfit”

Create an Automatically Responsive Flexbox Gallery (on egghead.io)

Here’s a lovely intrinsically responsive (no media queries) photo gallery solution from Stephanie Eckles. It can accommodate differently sized images and achieves its layout by a combination of flexbox features (flex-wrap, flex-basis) and by applying object-fit: cover to photos to make them fully cover their parent list items.

See all tags.

External Link Bookmark Note Entry Search