~/talk

Breaking and bending Flexbox on the quest for the...

Talkat Shift Dev 2019 · 2019-05-30..05-31· [css, web-performance]
slides:none on file

Shows a concrete method to get masonry from Flexbox by using order per column via :nth-child plus inserted collapsed flex break elements that act like line breaks. Implementation renders columns top-to-bottom but sorts left-to-right (example: 1 4 7 2 5 8 3 6 9), scales to three or four columns with :nth-of-type and span hacks, and reduces JS to setting container height and occasional ordering logic. It works and can outperform heavy JS libraries, but needs explicit container height or JS measurements to produce truly optimal placement.

AI-written summary · about

  1. 0:00Start
  2. 1:33Masonry and Why It's Difficult
  3. 3:47Columns
  4. 5:57Stacked Ordering
  5. 6:44Order Property
  6. 15:16Flexbox Line Break
  7. 20:57Complaints about Myths Using Flexbox
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.