Skip to main content
Dublin Library

The Publishing Project

Tagged “Layout”

--- desc: ---
The difference between auto-fill and auto-fit in grid layouts

Even after all these years, I've struggled to understand the difference between auto-fill and auto-fit values when used in creating grid layouts. The easiest way to create a grid of equal columns is...

Using 'clamp' to control CSS Values

Rather than using media queries to control the dimensions of an element, we can use the clamp to accomplish the same task with less code. According to MDN: The clamp() CSS function clamps a middle...

Different views of masonry layout

There is an interesting discussion going on about masonry layouts and how they should be added to the web platform. This post will analyze the different proposals and then express an opinion as to...

Exploring the picture Element

The picture element was added to the HTML specification as part of the responsive images effort. This post will dive into the picture, source and img elements along with the srcset property and...

Link to Archive

See all tags.