~/talk

CSS Grid in Production

Talkat dotCSS 2017 · on Thursday, 2017-11-30· [css, web-platform]
slides:none on file

Ship-ready CSS Grid replaces an absolute-positioned striped background with a tilted grid container using 5 rows and 10 columns and a skew transform, removing one-pixel gaps and simplifying responsive changes at 1000px by toggling column count. Firefox grid inspector confirms placement; gradients on span elements produce the stripes. Fallbacks use display:contents and a JS loader that checks style.grid before injecting a separate stylesheet. The grid approach proves smaller, more robust, and maintainable in production.

AI-written summary · about

  1. 0:00Start
  2. 2:56apply a background gradient on all the stripes
  3. 3:18defining a template grid and placing each span individually in the appropriate rows
  4. 4:12define the start and end values for both rows and columns
  5. 8:18place them in the same grid area
  6. 9:18stack all the elements in the center of the body
  7. 10:45place our content in the grid
~/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.