Skip to main content
  • Book
  • © 2016

CSS Mastery

Apress
  • Third edition of 30,000-selling title
  • Fully updated for new browsers and CSS Level 3
  • New examples and chapters

Buy it now

Buying options

eBook USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (12 chapters)

  1. Front Matter

    Pages i-xxiii
  2. Setting the Foundations

    • Andy Budd, Emil Björklund
    Pages 1-15
  3. Getting Your Styles to Hit the Target

    • Andy Budd, Emil Björklund
    Pages 17-38
  4. Visual Formatting Model Overview

    • Andy Budd, Emil Björklund
    Pages 39-59
  5. Web Typography

    • Andy Budd, Emil Björklund
    Pages 61-99
  6. Beautiful Boxes

    • Andy Budd, Emil Björklund
    Pages 101-142
  7. Content Layout

    • Andy Budd, Emil Björklund
    Pages 143-184
  8. Page Layout and Grids

    • Andy Budd, Emil Björklund
    Pages 185-222
  9. Responsive Web Design & CSS

    • Andy Budd, Emil Björklund
    Pages 223-261
  10. Styling Forms and Data Tables

    • Andy Budd, Emil Björklund
    Pages 263-298
  11. Making It Move: Transforms, Transitions, and Animations

    • Andy Budd, Emil Björklund
    Pages 299-333
  12. Cutting-edge Visual Effects

    • Andy Budd, Emil Björklund
    Pages 335-370
  13. Code Quality and Workflow

    • Andy Budd, Emil Björklund
    Pages 371-402
  14. Back Matter

    Pages 403-409

About this book

Fully updated to the latest CSS modules, make the journey to CSS mastery as simple and painless as possible. This book dives into advanced aspects of CSS-based design, such as responsive design, modular CSS, and CSS typography. Through a series of easy-to-follow tutorials, you will learn practical CSS techniques you can immediately start using in your daily work.

CSS Mastery: Advanced Web Standards Solutions is your indispensable guide to cutting-edge CSS development—this book demystifies the secrets of CSS. While CSS is a relatively simple technology to learn, it is a difficult one to master. When you first start developing sites using CSS, you will come across all kinds of infuriating browser bugs and inconsistencies. It sometimes feels like there are a million and one different techniques to master, spread across a bewildering array of websites. The range of possibilities seems endless and makes for a steep and daunting learning curve.

While most books concentrate on basic skills, this one is different, assuming that you already know the basics and why you should be using CSS in your work, and concentrating mainly on advanced techniques. This new edition covers all of the CSS fundamentals such as the importance of meaningful markup, how to structure and maintain your code, and how the CSS layout model really works.

This new edition contains:

  • New examples and updated browser support information
  • Full coverage of modular CSS and responsive design
  • Essential information on CSS typography and layout control 
What You'll Learn
  • Discover the best practice concepts in CSS design
  • Master the most important (and tricky) parts of CSS
  • Identify and fix the most common CSS problems
  • Deal with the most common bugs
  • See the latest information on CSS features and support 
  • Who This Book Is For



    Intermediate and advanced web designers and developers. It offers a quick recap of the main points of CSS, while dispelling some common myths, but then moves forward to delve into the higher-level aspects of CSS. It contains fully up-to-date information throughout, and acts as a one-stop-shop for current CSS best practices.   

Authors and Affiliations

  • Brighton, United Kingdom

    Andy Budd

  • Malmo, Sweden

    Emil Björklund

About the authors

Andy Budd is one of the founding partners at User Experience Design Consultancy, Clearleft. As an interaction design and usability specialist, Andy is a regular speaker at international conferences like Web Directions, An Event Apart, and SXSW. Andy curates dConstruct, one of the U.K.'s most popular design conferences. He's also responsible for UX London, the U.K.'s first dedicated usability, information architecture, and user experience design event. Andy was an early champion of web standards in the U.K. and has developed an intimate understanding of the CSS specifications and cross-browser support. As an active member of the community, Andy has helped judge several international design awards and currently sits on the advisory board for .NET magazine. Andy is also the driving force behind Silverbackapp, a low-cost usability testing tool for the Mac. Andy is an avid Twitter user and occasionally blogs at andybudd.com. Never happier than when he's diving in some remote tropicalatoll, Andy is a qualified PADI dive instructor and retired shark wrangler.

Emil Björklund is the Technical Director at digital design consultancy inUse, where he’s usually busy building websites—or helping clients and co-workers better their craft. Emil created his first HTML page on Geocities in 1997, but got confused by the mess of table tags. Coming back to the web in 2001, he found this magical thing called CSS and has been fascinated by it ever since. For the last decade, Emil has been building websites professionally, hacking on anything from client-side JavaScript to server-side Python, but always with a special place in his heart for good old HTML and CSS. Emil’s writing and advice on CSS has been published in Net Magazine and on CSS Tricks. He also writes about (mostly) web-related stuff on his blog at thatemil.


Bibliographic Information

Buy it now

Buying options

eBook USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access