World Congress 2021 • Jun 30, 2021

How to write a book with CSS

Håkon Wium Lie

Think CSS is only for screens? Discover how to leverage page rules and micro-typography to typeset professional-grade physical books entirely with code.

Pause
Mute Enter Fullscreen
#1 about 2 min

Origins of cascading style sheets at CERN

Managing immense data at the CERN laboratory created the specific technical needs that birthed cascading style sheets.

#2 about 4 min

Basic textual and visual formatting in early CSS

Early property additions simplified web styling by replacing image-based attributes with declarative font and background settings.

#3 about 7 min

Advancements in CSS3 properties for visual effects

Cascading style sheets eliminated complex scripting requirements by introducing declarative visual properties like dynamic hardware-accelerated animations.

#4 about 4 min

Applying CSS techniques to printed book typography

Screen-based style sheets enable digital authors to replicate traditional offline typography guidelines for physical book formats.

#5 about 2 min

Handling pagination and page numbering in CSS layouts

Splitting content across physical pages requires specialized layout properties for defining page sizes and custom numbering counters.

#6 about 7 min

Positioning images and figures in multi-column printed pages

Floating and deferring figures across columns or entire document pages produces continuous magazine-style layouts matching physical texts.

#7 about 2 min

Creating cross-page image spreads using split CSS figures

Rendering a continuous illustration across a split physical book binding requires duplicated image elements and strategic negative margins.

#8 about 3 min

Enhancing print typography with automated text replacements

Experimental text replacement properties automate the injection of precise typographic spacing and proper Unicode punctuation during print generation.

#9 about 4 min

Formatting physical books and the aesthetic impact of CSS

Modern semantic structures allow technical authors to format personal manuscripts into functional physical books using familiar web standards.

#10 about 10 min

Audience questions on design control and printed CSS standards

Community inquiries highlight ongoing obstacles involving browser-specific syntax features, automated table generations, and standardized logical layout metrics.

Matching moments

1:14 min

Recreating complex print layouts with CSS technologies

Håkon Wium Lie · World Congress 2022

4:28 min

Establishing physical book layouts with CSS paged media

Håkon Wium Lie · World Congress 2022

3:52 min

Bridging scientific structure and typography with CSS

Håkon Wium Lie · World Congress 2022

58 sec

Formatting printable documents with page media CSS

Chris Heilmann Chris Heilmann +2 · LIVE

1:01 min

Understanding the fundamental role of CSS in web development

Patricio Vargas · LIVE

2:04 min

Introduction to modern CSS capabilities for designers

Onur Gumus · LIVE