CSS: The Definitive Guide: Visual Presentation for the Web

Front Cover
"O'Reilly Media, Inc.", Oct 16, 2017 - Computers - 1090 pages

If you’re a web designer or app developer interested in sophisticated page styling, improved accessibility, and saving time and effort, this book is for you. This revised edition provides a comprehensive guide to CSS implementation, along with a thorough review of the latest CSS specifications.

CSS is a constantly evolving language for describing the presentation of web content on screen, printers, speech synthesizers, screen readers, and chat windows. It is used by all browsers on all screen sizes on all types of IoT devices, including phones, computers, video games, televisions, watches, kiosks, and auto consoles. Authors Eric Meyer and Estelle Weyl show you how to improve user experience, speed development, avoid potential bugs, and add life and depth to your applications through layout, transitions and animations, borders, backgrounds, text properties, and many other tools and techniques.

This guide covers:

  • Selectors, specificity, and the cascade
  • Values, units, fonts, and text properties
  • Padding, borders, outlines, and margins
  • Colors, backgrounds, and gradients
  • Floats and positioning tricks
  • Flexible box layout
  • The new Grid layout system
  • 2D and 3D transforms, transitions, and animation
  • Filters, blending, clipping, and masking
  • Media and feature queries
 

Contents

Chapter 1 CSS and Documents
1
Chapter 2 Selectors
29
Chapter 3 Specificity and the Cascade
97
Chapter 4 Values and Units
113
Chapter 5 Fonts
149
Chapter 6 Text Properties
207
Chapter 7 Basic Visual Formatting
257
Chapter 8 Padding Borders Outlines and Margins
315
Chapter 15 Lists and Generated Content
767
Chapter 16 Transforms
819
Chapter 17 Transitions
855
Chapter 18 Animation
891
Chapter 19 Filters Blending Clipping and Masking
945
Chapter 20 MediaDependent Styles
991
Appendix A Animatable Properties
1017
Appendix B Basic Property Reference
1025

Chapter 9 Colors Backgrounds and Gradients
387
Chapter 10 Floating and Shapes
489
Chapter 11 Positioning
525
Chapter 12 Flexible Box Layout
563
Chapter 13 Grid Layout
655
Chapter 14 Table Layout in CSS
731
Appendix C Color Equivalence Table
1037
Index
1041
About the Authors
1060
Colophon
1061
Copyright

Other editions - View all

Common terms and phrases

About the author (2017)

Eric A. Meyer is the author of the critically acclaimed online tutorial Introduction to HTML, as well as some other semi-popular Web pages. He is a member of the CSS&FP Working Group and the author of Cascading Style Sheets: The Definitive Guide. Estelle Weyl is a front-end engineer who has been developing standards-based accessible websites since 1999. She writes two technical blogs pulling millions of visitors, and speaks about CSS3, HTML5, JavaScript and mobile web development at conferences around the world.

Bibliographic information