~/talk

Fluid typography

Talkat WebCamp Zagreb 2018 · 2018-10-05..10-06· [web-platform, css]
links:none on file
slides:none on file

Shows how to compute a pixel-perfect fluid scale: pick a minimum and maximum font size and the corresponding viewport widths, then use viewport units plus calc() to linearly interpolate font-size so each viewport pixel maps to a predictable font value. Implementation uses a capped fluid value with media-query fallbacks for the min/max, a small Sass mixin to generate the math, and examples that keep headings to a target line count and ~70 characters per line. Notes Safari quirks with some calc/vw combos.

AI-written summary · about

  1. 0:00Introduction
  2. 0:45What is fluid typography
  3. 3:20Problems with breakpoints
  4. 5:06Viewport units and calc
  5. 8:45Smooth interpolation solution
  6. 12:40Benefits of fluid typography
  7. 14:07Summary and Q&A
~/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.