~/talk

Dirty little front-end tricks

Talkat JSConf Iceland 2016 · 2016-08-25..08-26· [css, frontend-architecture]
slides:none on file

Concrete hacks and results: using the object tag to nest links and embed SVGs so inline links survive and SVGs stay styleable; applying ::before/::after on img to show custom broken-image UIs; a fluid-typography formula that maps 16px@400px to 24px@800px without media queries; a width/min/max arithmetic trick to fake Gmail breakpoints and even a live-updating image-as-sprite for email; pulling children out of fixed containers with negative VW margins; and converting images into tables of colored TDs when clients refuse to load assets.

AI-written summary · about

  1. 0:00Intro
  2. 1:15About Vitaly
  3. 2:05Nested links
  4. 5:10Embedding SVG
  5. 6:15Broken images
  6. 7:40Fluid typography
  7. 8:45Setting font size
  8. 9:35Changing font size
  9. 10:20Font size formula
  10. 11:57Line height formula
  11. 14:03Multicolumn table
  12. 15:01Pseudo elements
  13. 17:05WhyResponsive emails
  14. 17:48Background coloring
  15. 19:27Table properties
  16. 21:18Columns in Gmail
  17. 25:28RealTime Wall
  18. 29:49Negative Margins
  19. 30:41Closing diff
  20. 32:58Metadata
  21. 35:06Vertical reading
  22. 36:51Cap height
  23. 37:30Margin
  24. 38:36Offset
  25. 40:23Summary
~/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.