Håkon Wium Lie
How to write a book with CSS
#1about 3 minutes
The origins of CSS at CERN
CSS was created at CERN to separate presentation from HTML content, addressing the early web's need for basic styling like fonts and colors.
#2about 8 minutes
Evolving CSS from basic styles to advanced effects
CSS grew from simple font and color properties to include powerful features like text shadows, border radius, and declarative animations, reducing the need for JavaScript.
#3about 4 minutes
Applying CSS to book design and typography
Beyond screens, CSS has a crucial role in preserving the art of book typography, enabling the creation of printed materials directly from web technologies.
#4about 2 minutes
Mastering pagination and page layout for print
The @page rule in CSS allows for defining page size, margins, and adding dynamic page numbers to create professional book spreads.
#5about 4 minutes
Advanced figure and image placement in print
Extended float and clear properties enable precise placement of figures relative to the page, column, or spread, such as floating to the top or outside edge.
#6about 4 minutes
Deferring content and creating full-bleed spreads
Use defer properties to place elements on specific pages or columns, and combine this with negative margins to create seamless images that span across a two-page spread.
#7about 3 minutes
Refining typography and the challenge to write a book
Use the text-replace property for high-quality typography and take on the challenge of writing and formatting your own book with HTML and CSS.
#8about 12 minutes
Q&A on CSS history, design, and print standards
The discussion covers the impact of CSS on employment, convincing designers to use web standards, its relationship to LaTeX, and the future of print-specific properties.
Related jobs
Jobs that call for the skills explored in this talk.
Hubert Burda Media
München, Germany
€80-95K
Intermediate
Senior
Node.js
TypeScript
Matching moments
02:44 MIN
Rapid-fire thoughts on the future of work
What 2025 Taught Us: A Year-End Special with Hung Lee
03:39 MIN
Breaking down silos between HR, tech, and business
What 2025 Taught Us: A Year-End Special with Hung Lee
03:38 MIN
Balancing the trade-off between efficiency and resilience
What 2025 Taught Us: A Year-End Special with Hung Lee
04:27 MIN
Moving beyond headcount to solve business problems
What 2025 Taught Us: A Year-End Special with Hung Lee
11:32 MIN
The industry's focus on frameworks over web fundamentals
WeAreDevelopers LIVE – Frontend Inspirations, Web Standards and more
05:41 MIN
Choosing the right fonts for web legibility and performance
Slopquatting, API Keys, Fun with Fonts, Recruiters vs AI and more - The Best of LIVE 2025 - Part 2
11:10 MIN
The only frontend stack that truly matters
WeAreDevelopers LIVE – Frontend Inspirations, Web Standards and more
03:15 MIN
Using personal stories to capture audience attention
Leveraging Leaders’ Voices: The Business Power of Personal Branding
Featured Partners
Related Videos
Can CSS recreate Tufte's designs?
Håkon Wium Lie
Future-Proof CSS
Ire Aderinokun
Is CSS Houdini finally usable in 2023?
Tanja Ulianova
What's new in CSS for Designers?
Onur Gumus
What’s New and What’s Next in Web UI
Cleyra Uzcategui
The State Of The Web
Jeremy Keith
Playing Games with CSS
Elad Shechter
Tips and Tricks: CSS Pseudo Class Selectors and Pseudo Elements
Dan Cranney
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.

Agora Think Tanks gGmbH
Berlin, Germany
Intermediate
Senior
PHP
CSS
HTML
JavaScript
TypeScript





MyArtside GbR R. & S. Baudisch
Bautzen, Germany
Intermediate
PHP
CSS
MySQL
Figma
jQuery
+4


