Video description
In Video Editions the narrator reads the book while the content, figures, code listings, diagrams, and text appear on the screen. Like an audiobook that you can also watch as a video.
To create web designs that delight, entertain, and impress your users, you need to know CSS in depth!
Getting good—really good—at CSS means learning everything that CSS is capable of. This totally revised new edition of CSS in Depth expands your CSS skills with the patterns, layouts, and methods you need to deliver truly beautiful front ends.
In CSS in Depth, Second Edition you will learn how to:
- Create a web page with layout methods
- Develop essential website components, like dropdown menus and dialog boxes
- Make your website fully responsive across devices
- Organize your CSS for easy future maintenance
- Implement designer mockups with attention to detail
- Use animations to guide user focus
- Avoid common CSS pitfalls
The more you know about CSS, the more confident you’ll be at tackling any tricky website design! CSS in Depth has given thousands of web developers the tools and the inspiration to make sites that really pop. This second edition is packed with the latest best practices, new CSS language features, and essential advice on how to organize and maintain your CSS codebase.
About the Technology
To deliver truly beautiful frontends, you need to know CSS inside and out. And as CSS grows and matures, even experienced CSS developers will find a whole new set of skills to catch up on! This guide will help you discover everything that CSS is capable of—from the must-knows and brand-new features to the hidden insights you won’t find anywhere else!
About the Book
CSS in Depth, Second Edition, deep dives into the CSS techniques used by the world’s most skilled web developers. Inside, you’ll learn how to build and organize a modular CSS codebase that’s easy to understand, maintain, and reuse. This new edition is fully revised to cover the CSS standard’s latest additions, including cascade layers, logical properties, new color functions, subgrid, and container queries.
What's Inside
- Vertical centering, margin collapsing, and positioning
- Dropdown menus and modal dialog boxes
- Animations to guide user focus
- Avoiding common CSS pitfalls
About the Reader
Written for web developers who know the basics of CSS and HTML.
About the Author
Keith J. Grant is a Principal Software Engineer at Red Hat, where he works on front-end code for the Ansible Controller web application using JavaScript and CSS.
The technical editor on this book was Chris Chinchilla.
Quotes
A systemic approach to CSS, clearly describing what makes the language unique and how all the pieces fit together.
- Miriam Suzanne, Invited Expert on the W3C CSS Working Group
Clear explanations and practical examples demystify complex concepts. An invaluable resource for both new and experienced developers.
- Adam Argyle, Chrome CSS Developer Advocate, Google
An excellent in-depth book diving into the gritty details. Offers a great code-along experience with its examples and explanations.
- Simon Verhoeven, Software Engineer, Itenium
Table of contents
- Part 1. Reviewing the fundamentals
- Chapter 1. Cascade, specificity, and inheritance
- Chapter 1. Inheritance
- Chapter 1. Special values
- Chapter 1. Shorthand properties
- Chapter 1. Progressive enhancement
- Chapter 1. Summary
- Chapter 2. Working with relative units
- Chapter 2. Ems and rems
- Chapter 2. Stop thinking in pixels
- Chapter 2. Viewport-relative units
- Chapter 2. Unitless numbers and line-height
- Chapter 2. Custom properties (aka CSS variables)
- Chapter 2. Summary
- Chapter 3. Document flow and the box model
- Chapter 3. The box model
- Chapter 3. Element height
- Chapter 3. Negative margins
- Chapter 3. Collapsed margins
- Chapter 3. Spacing elements within a container
- Chapter 3. Summary
- Part 2. Mastering layout
- Chapter 4. Flexbox
- Chapter 4. Flex item sizes
- Chapter 4. Flex direction
- Chapter 4. Alignment, spacing, and other details
- Chapter 4. Summary
- Chapter 5. Grid layout
- Chapter 5. Anatomy of a grid
- Chapter 5. Alternate syntaxes
- Chapter 5. Explicit and implicit grid
- Chapter 5. Additional options
- Chapter 5. Alignment properties
- Chapter 5. Summary
- Chapter 6. Positioning and stacking contexts
- Chapter 6. Absolute positioning
- Chapter 6. Relative positioning
- Chapter 6. Stacking contexts and z-index
- Chapter 6. Sticky positioning
- Chapter 6. Summary
- Chapter 7. Responsive design
- Chapter 7. Media queries
- Chapter 7. Fluid layouts
- Chapter 7. Responsive images
- Chapter 7. Summary
- Part 3. Modern code organization
- Chapter 8. Cascade layers and nesting
- Chapter 8. A recommended organization for cascade layers
- Chapter 8. The :is() and :where() pseudo-classes
- Chapter 8. Nesting
- Chapter 8. Summary
- Chapter 9. Modular CSS and scope
- Chapter 9. Modules composed into larger structures
- Chapter 9. CSS scope
- Chapter 9. Pattern libraries
- Chapter 9. Summary
- Chapter 10. Container queries
- Chapter 10. A closer look at containers
- Chapter 10. Container-relative units
- Chapter 10. Container style queries
- Chapter 10. Summary
- Part 4. Visual enhancements
- Chapter 11. Color and contrast
- Chapter 11. Gamuts and color spaces
- Chapter 11. Using OKLCH to work with color
- Chapter 11. Considering contrast for font colors
- Chapter 11. Summary
- Chapter 12. Typography and spacing
- Chapter 12. Web fonts
- Chapter 12. Google fonts
- Chapter 12. How @font-face works
- Chapter 12. Performance considerations
- Chapter 12. Adjusting space for readability
- Chapter 12. Summary
- Chapter 13. Gradients, shadows, and blend modes
- Chapter 13. Shadows
- Chapter 13. Blend modes
- Chapter 13. Summary
- Chapter 14. Masks, shapes, and clipping
- Chapter 14. Masks
- Chapter 14. Clipping paths
- Chapter 14. Floats and shapes
- Chapter 14. Summary
- Part 5. Adding motion
- Chapter 15. Transitions
- Chapter 15. Timing functions
- Chapter 15. Non-animatable properties
- Chapter 15. Transitioning to auto height
- Chapter 15. Transitioning custom properties
- Chapter 15. Summary
- Chapter 16. Transforms
- Chapter 16. Transforms in motion
- Chapter 16. Animation performance
- Chapter 16. 3D transforms
- Chapter 16. Summary
- Chapter 17. Animations
- Chapter 17. Animating 3D transforms
- Chapter 17. Animation delay and fill mode
- Chapter 17. Conveying meaning through animation
- Chapter 17. Scroll-based timelines
- Chapter 17. One final piece of advice
- Chapter 17. Summary
- appendix A. Selectors reference
- appendix A. Combinators
- appendix A. Compound selectors
- appendix A. Pseudo-class selectors
- appendix A. Pseudo-element selectors
- appendix A. Attribute selectors
- appendix B. Preprocessors
- appendix B. PostCSS
- appendix B. Lightning CSS
Product information
- Title: CSS in Depth, Second Edition, Video Edition
- Author(s):
- Release date: September 2024
- Publisher(s): Manning Publications
- ISBN: None
You might also like
book
CSS in Depth, Second Edition
To create web designs that delight, entertain, and impress your users, you need to know CSS …
article
Splitting Strings on Any of Multiple Delimiters
Build your knowledge of Python with this Shortcuts collection. Focusing on common problems involving text manipulation, …
article
Reinventing the Organization for GenAI and LLMs
Previous technology breakthroughs did not upend organizational structure, but generative AI and LLMs will. We now …
article
Use Github Copilot for Prompt Engineering
Using GitHub Copilot can feel like magic. The tool automatically fills out entire blocks of code--but …