Modern CSS
Second Edition
By Joe Attardi
Master the art of modern CSS with this comprehensive guide. Learn how to create beautiful, responsive, and performant web designs.
- 300+ pages
- Updated 2025
Available Now
Order from Amazon
Also available from:

What You'll Learn
Chapter 1
Introduction to CSS
Get started with CSS fundamentals and understand its role in modern web development.Chapter 2
CSS Rules and Selectors
Master the art of targeting elements with powerful and efficient selectors.Chapter 3
Basic CSS Concepts
Learn about the box model, specificity, and inheritance.Chapter 4
Basic Styling
Explore colors, units, and basic styling properties.Chapter 5
Backgrounds and Gradients
Create stunning backgrounds using gradients, patterns, and images.Chapter 6
Text Styling
Learn typography, text effects, and advanced text styling techniques.Chapter 7
Layout and Positioning
Master the art of positioning elements and creating complex layouts.Chapter 8
Transforms
Transform elements in 2D and 3D space with CSS transforms.Chapter 9
Transitions and Animations
Bring your designs to life with smooth transitions and animations.Chapter 10
Flexbox
Create flexible and responsive layouts with CSS Flexbox.Chapter 11
CSS Grid
Master the powerful CSS Grid layout system. Updated to cover subgrid.Chapter 12
Responsive Design
Learn how to make your designs work across all devices.Chapter 13
Wrap Up
Catch up on some other new CSS features.About the Author

Joe Attardi is a software engineer from the Boston area, specializing in front-end development. He has over 20 years of experience working with web technologies such as JavaScript, TypeScript, HTML, and CSS. He has built rich front-end experiences for companies such as Dell, Constant Contact, and Salesforce. He is also the author of Using Gatsby and Netlify CMS (Apress, 2020) and Web API Cookbook (O'Reilly, 2024). You can find him on X at @JoeAttardi.