allows intrinsic sizing
Global 94%
Chromium v22
Firefox v3
fi
width property + pre xes
Safari v6.1
Slide 34
fi
sizing keywords
available inline space
fit-content min-content max-content
t-content mincontent max-content
Slide 35
t-content t-content will grow but not over ow mincontent
fl
max-content has over ow potential max-content
fl
fi
fi
available inline space
Slide 36
width: fit-content contentrelative width without changing the display value!
fl
Macaroon tiramisu souf é tart chocolate cake
Slide 37
grid units & functions slinky potential everywhere
Global 93%
Chromium v57
Firefox v52
Safari v10.1
Slide 38
CSS grid is the perfect toolset for achieving flexibility within constraints
Slide 39
grid-template-columns: repeat( auto-fit, minmax(30ch, 1fr ) )
fi
fi
fi
de ne a recurring pattern
create as many tracks that t
de nes a range
minimum value
maximum value
I’m pro-selective use of media queries Viewport-relative media queries aren’t scalable and are no longer the best tool for the job
Slide 74
things I couldn’t fit in this talk… container queries container units :has()
Slide 75
☙ Why haven’t we already embraced Intrinsic Web Design? ❧
Slide 76
hard to relinquish control
feel trapped by processes
not empowered to create or request change
Slide 77
spicy take incoming… necessary
the rigidity of design systems and frameworks is at odds with intrinsic web design
Slide 78
intrinsic web design cheatsheet
clamp() min() / max() fit-content / () grid auto-fit grid minmax
start using contextual spacing
gap, margin, and padding
Slide 79
ModernCSS.dev/spacing 5t3ph.dev/workshop
Slide 80
The web’s greatest strength, I believe, is often seen as a limitation, as a defect. It is the nature of the web to be flexible, and it should be our role as designers and developers to embrace this flexibility, and produce pages which, by being flexible, are accessible to all. John Allsop A Dao of Web Design, 2000