Patrick - Embrace the chaos — The shape and flow of masonry layouts

Ramblings about the layout shape and item flow in masonry, and how that compares to other types of CSS layouts. Masonry is a pretty unique layout type, one where embracing the chaos of the layout can be the best approach.

Patrick Brosset

#Development #Overviews
CSS layout fundamentals · Master the core concepts behind CSS layouts https://ilo.im/16a1ic

_____
#Layouts #Positioning #Stacking #CssGrid #CssFlexbox #BoxModel #Browsers #WebDev #Frontend #CSS

Understanding the fundamentals of CSS Layout

When developers say that CSS is hard, they're usually talking about CSS layout. What often gets omitted though is that developers are assumed to understand and…

Polypane

#Development #Previews
New Safari developer tools · Safari’s Grid Inspector adds support for CSS ‘grid-lanes’ https://ilo.im/169url

_____
#ModernCSS #CssGrid #CssFlexbox #Masonry #Safari #Browser #DevTools #WebDev #Frontend #CSS

#Development #Explainers
The fundamentals of CSS alignment · How alignment properties work in layouts https://ilo.im/166mhk

_____
#Layout #Content #Alignment #Spacing #CSS #Containers #CssGrid #CssFlexbox #WebDev #Frontend

The Fundamentals of CSS Alignment

This deep dive covers everything you need to know about CSS alignment. It's time to stop doing trial and error and finally understand how everything works!

I just don't get why anyone would use:

```
display: flex;
flex-direction: column
```

when `display: grid` is supported, shorter to write and allows for a lot more flexibility if you want more from your layout.

#CSS #code #coding #frontend #layout #web #dev #webDevelopment #webDev #cssLayout #cssGrid #cssFlexbox

#Development #Techniques
Another article about centering in CSS · There’s no silver bullet for centering https://ilo.im/1664uj

_____
#Centering #Layout #Container #Text #Content #WebDev #Frontend #CSS #CssGrid #CssFlexbox

Another article about centering in CSS

This one is different, I promise. It's my advice on approaching the options we have to center an element with CSS now and what pragmatic choices we should make.

Piccalilli

#Development #Techniques
Safe align your content · The CSS ‘safe’ keyword is worth knowing https://ilo.im/164jgu

_____
#CSS #Layout #Container #Alignment #WebDev #Frontend #CssGrid #CssFlexbox

Safe align your content

Learn about the keyword "safe" and how to use it

#Development #Previews
A new way to style gaps · Say hello to consistent separators across CSS layouts https://ilo.im/164kgh

_____
#Layout #Chrome #Edge #Browser #WebDev #Frontend #CSS #CssGrid #CssFlexbox #CssMultiColumn

A new way to style gaps in CSS  |  Blog  |  Chrome for Developers

Say goodbye to border and pseudo-element hacks.

Chrome for Developers

#Development #Techniques
The CSS height enigma · Unraveling the mystery of percentage-based heights https://ilo.im/163u5k

_____
#Layout #CssUnits #CssGrid #CssFlexbox #WebDev #Frontend #HTML #CSS

The Height Enigma • Josh W. Comeau

One of the most perplexing and befuddling things in CSS for me, for many years, was the behaviour of percentage-based heights. Sometimes, seemingly at random, setting height: 100% would have no effect at all. When I finally figured out what was going on, it was like a puzzle piece snapping into place; everything made so much more sense! In this post, I’ll share the epiphany I had, and we’ll explore some solutions.

Out of order

CSS does a lot these days, and I argue that it does too much.