Book description
If you're a web designer or app developer interested in sophisticated page styling, improved accessibility, and less time and effort expended, this book is for you. This revised fifth edition provides a comprehensive guide to CSS implementation along with a thorough review of the latest CSS specifications.
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. We read the specs so you don't have to!
This guide covers:
- Selectors, specificity, and the cascade, including information on the new cascade layers
- New and old CSS values and units, including CSS variables and ways to size based on viewports
- Details on font technology and ways to use any available font variants
- Text styling, from basic decoration to changing the entire writing mode
- Padding, borders, outlines, and margins, now discussed in terms of the new block- and inline-direction layout paradigm used by modern browsers
- Colors, backgrounds, and gradients, including the conic gradients
- Accessible data tables
- Flexible box and grid layout systems, including new subgrid capabilities
- 2D and 3D transforms, transitions, and animation
- Filters, blending, clipping, and masking
- Media, feature, and container queries
Publisher resources
Table of contents
- Preface
- 1. CSS Fundamentals
- 2. Selectors
- 3. Pseudo-Class and -Element Selectors
- 4. Specificity, Inheritance, and the Cascade
- 5. Values and Units
-
6. Basic Visual Formatting
- Basic Boxes
- Altering Element Display
- Logical Element Sizing
- Altering Box Sizing
- Block-Axis Properties
- Inline-Axis Formatting
- Box Sizing with Aspect Ratios
-
Inline Formatting
- Line Layout
- Basic Terms and Concepts
- Line Heights
- Inline Nonreplaced Elements
- Building the Boxes
- Setting Vertical Alignment
- Managing the Line Height
- Adding Box Properties to Nonreplaced Elements
- Changing Breaking Behavior
- Glyphs Versus Content Area
- Inline Replaced Elements
- Adding Box Properties to Replaced Elements
- Replaced Elements and the Baseline
- Inline-Block Elements
- Flow Display
- Content Display
- Other Display Values
- Element Visibility
- Summary
- 7. Padding, Borders, Outlines, and Margins
- 8. Backgrounds
- 9. Gradients
- 10. Floating and Positioning
- 11. Flexible Box Layout
- 12. Grid Layout
- 13. Table Layout in CSS
- 14. Fonts
- 15. Text Properties
- 16. Lists and Generated Content
- 17. Transforms
- 18. Transitions
- 19. Animation
- 20. Filters, Blending, Clipping, and Masking
- 21. CSS At-Rules
- A. Additional Resources
- Index
- About the Authors
Product information
- Title: CSS: The Definitive Guide, 5th Edition
- Author(s):
- Release date: May 2023
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781098117610
You might also like
book
CSS: The Definitive Guide, 4th Edition
If you’re a web designer or app developer interested in sophisticated page styling, improved accessibility, and …
book
JavaScript: The Definitive Guide, 7th Edition
JavaScript is the programming language of the web and is used by more software developers today …
book
HTML & CSS: Design and Build Websites
A full-color introduction to the basics of HTML and CSS from the publishers of Wrox! Every …
book
Learn Enough HTML, CSS and Layout to Be Dangerous: An Introduction to Modern Website Creation and Templating Systems
All You Need to Know, and Nothing You Don’t, to Start Creating and Deploying Web Sites---In …