~/talk

Building a scalable CSS-only slideshow in 1024 Bytes

Talkat code.talks 2017 · 2017-09-28..09-29· [css, web-performance]
slides:none on file

Claim: a working CSS-only slideshow fits in 1024 bytes by using the padding-bottom hack for a 16:9 aspect ratio, VW/VH units plus root-font REM scaling, visibility+transform transitions and :target navigation with CSS counters for pagination. The build removes whitespace, combines selectors, and hand-minifies JS only for optional keyboard support. Result validates as HTML/CSS/JS, runs in modern browsers, hits Android viewport-height quirks and Opera Mini rendering limits, and the final byte math yields the advertised 1024.

AI-written summary · about

  1. 0:00Introduction
  2. 1:36Why build CSS-only slideshow
  3. 4:4716:9 aspect ratio with CSS
  4. 7:41Scaling slides to viewport
  5. 10:36REM units for responsive content
  6. 12:26Slideshow structure
  7. 13:51Navigation with :target
  8. 16:39Centering with Flexbox
  9. 18:07Animated transitions
  10. 19:12Keyboard navigation
  11. 20:15Slide counters with CSS
  12. 21:01Minifying to 1024 bytes
  13. 32:16Live demo and results
  14. 35:25Browser compatibility
  15. 36:59Q&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.