News for hackers. Stuff that matters.
Re:Flexbox and Grids: your layout’s best friends by dangerlibrary on Monday November 06, 2017 @02:35PM (#15638311)
In the face of ambiguity, guess.

There should be N-- and preferably only N --obvious ways to do it.

Re:Flexbox and Grids: your layout’s best friends by c-smile on Monday November 06, 2017 @03:02PM (#15638554)
"obvious" is key point here.

This

    {  width:100px; 
       margin-left:1fr }  
has clear and obvious physical meaning: solid block with the spring of strength 1 on the left of it.

So the block is attached to the right side of its container. And so you don't need all those aligns - flex units can do alignment in more flexible ways.

That's obvious indeed.

But those flex-shrink/grow ...