~/talk

Shrinking CSS

Talkat CSSconf EU 2014 · on Friday, 2014-09-12· [web-performance, css]
slides:none on file

A new open-source minifier called CSS shrink parses full CSS ASTs (uses the Gonzalez parser instead of regex hacks) and actually rewrites values: color representations pick the smallest form, zeros and units are stripped, seconds replace milliseconds, shorthands and adjacent selectors merge, duplicates and unused IE hacks are removed, and browser-specific CSS (BSCSS) drops unsupported properties so old IE can lose roughly half of Bootstrap. Tests run by pixel-compare across headless engines using PhantomJS pixel diff and smaller Firefox/IE runners to catch regressions.

AI-written summary · about

  1. 0:00The CSS challenge
  2. 2:59Parsing and minification
  3. 7:07Minification techniques
  4. 11:25Structural optimizations
  5. 15:11Validation and tooling
  6. 20:24Future of CSS architecture
~/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.