Buy New
-70%
$13.70$13.70
FREE delivery Sunday, April 26 on orders shipped by Amazon over $35
Ships from: Amazon Sold by: RumiLLC
Used - Very Good
$6.39$6.39
FREE delivery April 29 - May 1
Ships from: ThriftBooks-Dallas Sold by: ThriftBooks-Dallas
Sorry, there was a problem.
There was an error retrieving your Wish Lists. Please try again.Sorry, there was a problem.
List unavailable.
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
CSS in Depth First Edition
Purchase options and add-ons
CSS in Depth exposes you to a world of CSS techniques that range from clever to mind-blowing. This instantly useful book is packed with creative examples and powerful best practices that will sharpen your technical skills and inspire your sense of design.
Foreword by Chris Coyier, Cofounder of CodePen.
Dig even deeper into the secrets of CSS with our video course CSS in Depth in Motion, available exclusively at Manning.com (www.manning.com/livevideo/css-in-depth-in-motion)!
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the Technology
Some websites really pop. They look great, they're visually consistent, and they feel interactive and responsive. You can bet their developers knew CSS in depth. CSS specifies everything from the structural layout of page elements to their individual look and feel. True masters know the patterns of CSS development, the techniques to implement them, and the subtle touches that result in beautiful typography, fluid transitions, and balanced graphics. Join them!
About the Book
CSS in Depth exposes you to a world of CSS techniques that range from clever to mind-blowing. This instantly useful book is packed with creative examples and powerful best practices that will sharpen your technical skills and inspire your sense of design. You'll gain new insights into familiar features like floats and units, and experiment with emerging ideas like responsive design and pattern libraries. Bottom line: this book will make you a better web designer and your apps will look fantastic!
What's Inside
- Avoid common CSS pitfalls
- Master misunderstood concepts
- Use flexbox and grid layout
- Responsive designs for any device
- Code for reuse and maintainability
About the Reader
Written for web developers who know the basics of CSS and HTML.
About the Author
Keith J. Grant is a senior web developer who builds and maintains web applications and websites, including The New York Stock Exchange site.
Table of Contents
PART 1 - REVIEWING THE FUNDAMENTALS
- Cascade, specificity, and inheritance
- Working with relative units
- Mastering the box model
PART 2 - MASTERING LAYOUT
- Making sense of floats
- Flexbox
- Grid layout
- Positioning and stacking contexts
- Responsive design
PART 3 - CSS AT SCALE
- Modular CSS
- Pattern libraries
PART 4 - ADVANCED TOPICS
- Backgrounds, shadows, and blend modes
- Contrast, color, and spacing
- Typography
- Transitions
- Transforms
- Animations
- ISBN-109781617293450
- ISBN-13978-1617293450
- EditionFirst Edition
- PublisherManning
- Publication dateApril 7, 2018
- LanguageEnglish
- Dimensions7.38 x 1 x 9.25 inches
- Print length472 pages
There is a newer edition of this item:
Deals on related products
Customers also bought or read
- The Road to React: Your journey to master plain yet pragmatic React.js
Paperback$28.48$28.48Delivery May 1 - 3 - JavaScript: The Definitive Guide: Master the World's Most-Used Programming Language
Paperback$49.35$49.35$3.99 delivery May 8 - 13 - Eloquent JavaScript, 4th Edition#1 Best SellerJavaScript Programming
Paperback$23.55$23.55Delivery Sun, Apr 26 - HTML and CSS: Design and Build Websites#1 Best SellerCSS Programming
Paperback$12.78$12.78FREE delivery Apr 29 - May 5 - CSS Secrets: Better Solutions to Everyday Web Design Problems
Paperback$17.93$17.93Delivery Sun, Apr 26 - Serious Python: Black-Belt Advice on Deployment, Scalability, Testing, and More
Paperback$19.95$19.95FREE delivery Apr 28 - May 4 - JavaScript from Beginner to Professional: Learn JavaScript quickly by building fun, interactive, and dynamic web apps, games, and pages
Paperback$28.99$28.99Delivery Sun, Apr 26 - Don't Make Me Think, Revisited: A Common Sense Approach to Web Usability (3rd Edition) (Voices That Matter)
Paperback$34.45$34.45Delivery Apr 28 - 29
Editorial Reviews
About the Author
Product details
- ASIN : 1617293458
- Publisher : Manning
- Publication date : April 7, 2018
- Edition : First Edition
- Language : English
- Print length : 472 pages
- ISBN-10 : 9781617293450
- ISBN-13 : 978-1617293450
- Item Weight : 1.72 pounds
- Dimensions : 7.38 x 1 x 9.25 inches
- Best Sellers Rank: #2,880,398 in Books (See Top 100 in Books)
- #128 in CSS Programming
- #3,411 in Software Development (Books)
- #4,339 in Internet & Telecommunications
- Customer Reviews:
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.
Products related to this item
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonCustomers say
Generated from the text of customer reviewsSelect to learn more
Top reviews from the United States
There was a problem filtering reviews. Please reload the page.
- Reviewed in the United States on June 13, 2019Format: PaperbackVerified PurchaseCSS in Depth is an excellent book. It is a code-along experience with its examples and resources over on github (Google "CSS in Depth Github files" or something like that). In this book, I learned more about HTML, CSS, and even some more about JavaScript. It is one of the best kinds of books on web development. I recommend it highly.
It starts with the most essential components: cascade, specificity, inheritance, relative units, and the box model. These fundamentals are often easily missed when a web developer is teaching oneself. Locking in these fundamentals really sets the stage for success. As a full stack developer with over 7 years of experience, I greatly appreciate this part of the book. So many bad habits in web design form out of a lack of knowledge on the core CSS rules. This section showed me my own bad habits (especially in the area of specificity) and helped me to understand the core of CSS much better.
After that, the author goes over layout techniques, from floats to flexbox to CSS grid, as well as responsive design. These are vital for any web developer when building modern web applications and when considering what browsers they are going to support. I found this section to be useful; at the same time, knowing how many different ways people have come up with techniques to lay out the web is both impressive and frustrating. Fortunately, we are at a point in the history of the web that old methodologies (table-based layouts, display table layouts, and float-based layouts) are becoming a relic of the past. Even legacy browsers like IE have some support for more modern layout techniques. This section is like the best kind of history lesson: it makes sense of the present by explaining the past and showing how far we've come. Good stuff.
Then, the author talks about CSS at scale. I work on an enterprise web application, and I believe the author has done us a favor by covering this topic. So often, when multiple teams work on disparate projects or even on one large project together, CSS gets duplicated, and maintaining these systems can be a big headache. Keeping web application CSS organized and intentional (using an organizational practice such as BEM) and providing a pattern library can go a long way to encouraging CSS reuse and making an enterprise web application more successful. With that said, I think these techniques should be a part of any web developer's toolkit, since they foster collaboration. Great section!
The final section of the book goes over what the author calls Advanced Topics: backgrounds, shadows, blend modes, contrast, color (HSL, anyone?), spacing, typography, animations, the list goes on. I enjoyed this section quite a bit, because coding along with the book and watching the different techniques in action feels good.
I took a very long time to read this book. I read sections in bursts, and I spent time thinking about and applying what I learned during the workday. I even did side projects where I applied what I learned. I don't have a recommendation as to how quickly you should read this book. It depends on your best way to learn. With that said, if you choose to read this book, I do recommend you type up the examples he provides and run them on a web browser.
While reading, I followed along with VS Code, a free development application that is somewhere between a text editor and a full IDE. It's awesome, and unless you have a preferred code editor already, I highly recommend it. I was throwing down new web applications left and right during the book, and I used the "Live Server" extension, as well as Emmet snippets, to quickly get from the written page to the rendered web page ;)
I remember the author tweeting about being in the process of writing this book. I was excited at the idea of this book and felt like a modern publication on this topic was desperately needed. Well, I'm done reading it, and it was well worth my time. I keep a copy on my row at work, and I share it with my teammates so we can all learn from it. I'm sure I'll be reading it again in the future.
As a final note, I like the author's teaching style. I would really like to see an online learning resource that teaches the way this book does and provides many, many more full example projects, more than a book could reasonably provide. Coding alongside the author was vital. It gets CSS into your fingers and gives you your own internal understanding of it all.
Read the book. Make awesome web stuff. You can do it.
- Reviewed in the United States on October 18, 2019Format: PaperbackVerified PurchaseTrue to its title, this book is hands down the most in-depth yet practical and easy to follow book on the subject when read from cover to cover. As a backend software developer who used to struggle in the past with numerous quirks, hacks and workarounds inherent in CSS and lack of consensus around best practices for code organization, class naming and such, I found the way most other books treat the subject frustrating. But this book really excelled in mixing the discussion of some fundamental concepts that are rarely discussed in other introductory tutorials with solid advice on how to put them to use as you write CSS. The combination of this book, MDN and Google's web fundamental guides will build your career as a front-end engineer on a strong foundation.
- Reviewed in the United States on May 27, 2018Format: PaperbackVerified PurchaseWhat this book is: A very well-written book about professional application of CSS.
If you are an experienced CSS designer looking to extend you knowledge and techniques, this book will show you some creative ideas most likely new to you. It will take you in-depth into a few CSS properties may not have yet fully explored. This is what is purports to be, and it delivers. I spent a few hours with it last night just after it arrived from Amazon, and couldn't put it down.
What this book is not: A primer on CSS for a beginning web-designer. Nor is it a textbook. Nor is it a complete CSS reference. So, don't buy if you are looking for any of these.
- Reviewed in the United States on March 5, 2021Format: PaperbackVerified PurchaseI'm using CSS since Im 12 (20 years ago), long before many flex box and grid existed. Always picked up what I needed to know from here and there.
This great book has strengthen up my base knowledge and was super useful for me.
Highly recommended.
- Reviewed in the United States on February 18, 2019Format: PaperbackVerified PurchaseA good source for improving CSS skills.
If you think you know much about CSS, my advice, read this book. You won't regret.
- Reviewed in the United States on November 11, 2018Format: PaperbackVerified PurchaseVery good book. I have a much better understanding of css after reading this. This book should be in any frontend developers library.
Top reviews from other countries
Just Some GuyReviewed in the United Kingdom on September 12, 20225.0 out of 5 stars Perfect for Mid-level CSS Devs Looking to Go Further
Format: PaperbackVerified PurchaseThis is a great book for any web developer who knows CSS moderately well, and is ready to take their skills to the next level. This is NOT a book for CSS beginners. If that's not you, learn CSS elsewhere first (and get some real-world CSS dev experience) before you take on this book.
If you're an intermediate CSS developer, and you're ready to go deeper to figure out a lot of those annoying little CSS issues that drive you crazy, this book is perfect for you. Even advanced developers will probably learn a few new tricks.
This book is not a comprehensive CSS deep-dive. CSS is a pretty huge topic these days, and no one book could cover _everything_ in depth. Instead, Grant offers a well written collection of insights, best practices, gotchas, and technical explanations that cover maybe ~60-70% of what most developers will actually need in real world projects. This book won't answer all your questions, but just about everything in it is worth knowing.
Written in 2018, it still holds up well today (2022), as not much has really changed. My only complaint is that Grant totally ignores modern JS frameworks (React, Vue, etc.). Everything he covers is oriented towards a pure raw HTML pages. That said, it all still applies - but you'll need to decide how you want to use his insights in your modern SPA codebase.
Final word: Any designer or developer who's been using CSS for a couple years will have no trouble understanding anything in this book - and will almost certainly learn at least a few things that will improve your CSS skills.
-
Johannes SchachtReviewed in Germany on July 3, 20225.0 out of 5 stars So muss ein Fachbuch sein!
Format: PaperbackVerified PurchaseWer bei CSS vom Raten-und-Staunen weg will und ein solides Fundament wünscht, ist bei diesem Buch bestens aufgehoben. Es erklärt genau die kritischen Gesichtspunkte, die man auch nach reichlich praktischer Erfahrung nicht auf dem Radar hat. Es ist erstaunlich und unerwartet, ein so exzellentes Fachbuch zu finden.
Das Buch ist keine Enzyklopädie, aber die Referenz sucht man sowieso online. Es deckt jedoch alle Ecken von CSS ab. Also: Unbedingte Kaufempfehlung, wenn man CSS-Frust vermeiden will.
-
testerReviewed in France on March 30, 20232.0 out of 5 stars Livre reçu avec les pages en noir et blanc au lieu de couleur
Format: PaperbackVerified PurchaseLivre reçu en noir et blanc. Aucun intérêt du coup
Thomas PaineReviewed in Mexico on September 13, 20215.0 out of 5 stars Excelent Book, Totall time saver
Format: PaperbackVerified PurchaseThe Author Really knows what he is talking about, i have beeen following tutorials on Youtube and web pages, and read other books, for intermediate, and beguinner, this book is amazing, i totally recommend it, it would have saved me so mucho time and head ache
ottoReviewed in the United Kingdom on June 6, 20215.0 out of 5 stars My best buy on CSS
Format: PaperbackVerified PurchaseI have bourght and read nany books on CSS, but this is by far the Best... It has become My Bible of CSS...










