
Amazon Prime Free Trial
FREE Delivery is available to Prime members. To join, select "Try Amazon Prime and start saving today with FREE Delivery" below the Add to Cart button and confirm your Prime free trial.
Amazon Prime members enjoy:- Cardmembers earn 5% Back at Amazon.com with a Prime Credit Card.
- Unlimited FREE Prime delivery
- Streaming of thousands of movies and TV shows with limited ads on Prime Video.
- A Kindle book to borrow for free each month - with no due dates
- Listen to over 2 million songs and hundreds of playlists
Important: Your credit card will NOT be charged when you start your free trial or if you cancel during the trial period. If you're happy with Amazon Prime, do nothing. At the end of the free trial, your membership will automatically upgrade to a monthly membership.
Buy new:
$69.99$69.99
Ships from: Amazon.com Sold by: Amazon.com
Save with Used - Acceptable
$9.99$9.99
Ships from: Amazon Sold by: Dream Books Co.

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 authors
OK
CSS: The Definitive Guide: Visual Presentation for the Web 4th Edition
Purchase options and add-ons
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
- ISBN-101449393195
- ISBN-13978-1449393199
- Edition4th
- PublisherO'Reilly Media
- Publication dateDecember 5, 2017
- LanguageEnglish
- Dimensions6.9 x 2.1 x 9.1 inches
- Print length1088 pages
There is a newer edition of this item:
Frequently bought together

Deals on related products
From the Publisher
![]()
Positioning in CSS
|
![]()
Transitions and Animations in CSS
|
![]()
Table Layout in CSS
|
![]()
Grid Layout in CSS
|
![]()
Padding, Borders, Outlines, and Margins in CSS
|
![]()
CSS Floating
|
|
---|---|---|---|---|---|---|
Customer Reviews |
4.4 out of 5 stars 9
|
4.2 out of 5 stars 32
|
4.1 out of 5 stars 16
|
4.4 out of 5 stars 49
|
5.0 out of 5 stars 5
|
4.1 out of 5 stars 8
|
Price | $6.87$6.87 | $7.03$7.03 | $5.51$5.51 | $6.99$6.99 | $7.26$7.26 | $7.99$7.99 |
More from O'Reilly Media | Visual Presentation for the Web | Adding Motion with CSS | CSS Table Rendering in Detail | Interface Layout for the Web | CSS Box Model Details | Floats and Float Shapes |
Editorial Reviews
About the Author
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.
Product details
- Publisher : O'Reilly Media; 4th edition (December 5, 2017)
- Language : English
- Paperback : 1088 pages
- ISBN-10 : 1449393195
- ISBN-13 : 978-1449393199
- Item Weight : 3.7 pounds
- Dimensions : 6.9 x 2.1 x 9.1 inches
- Best Sellers Rank: #450,469 in Books (See Top 100 in Books)
- #258 in Web Design (Books)
- #278 in Computer Programming Languages
- #604 in Web Development & Design Programming
- Customer Reviews:
About the authors
Eric A. Meyer starting working on the web in late 1993. A past member of the CSS Working Group, he is the author of several acclaimed CSS books as well as many articles on CSS and web standards. More recently, he co-founded the conference series An Event Apart with Jeffrey Zeldman and speaks about web standards all over the world. In recognition of his work, he was inducted into the International Academy of Digital Arts and Sciences in 2006.
A longtime resident of Cleveland, Ohio—which is a much nicer city than you've been led to believe—Eric used to be a weekly radio presence on WRUW 91.1-FM with a show covering the Big Band era. He now spends most of his free time reading, searching out great dishes, and playing with his wife and daughters.
Estelle Weyl read the specifications so you don't have to.
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
Customers find this CSS guide to be an excellent reference that covers everything related to the topic. They appreciate its accuracy and readability, with one customer noting it's worth reading relevant sections carefully. The accessibility of the book receives mixed feedback, with one customer finding it well-organized while another mentions it lacks examples.
AI-generated from the text of customer reviews
Select to learn more
Customers find the book highly readable and informative, describing it as the best CSS reference available, with one customer noting its meticulous approach to alerting readers.
"...of Eric Meyer & Estelle Weyl’s CSS book is very thorough and comprehensive. At over 1,000 pages, every topic that I wanted to study is included...." Read more
"This is THE must-own CSS book. At over 1000 pages, it’s not exactly enjoyable bathtub reading, but is anything truly enjoyable these days anyway?..." Read more
"...This is a reference book for someone who already knows a lot of CSS. Why pay for this book when you can just look up stuff on the web?..." Read more
"...so far the content is excellent and deserving of five stars: it's comprehensive, strikes a good balance between terse and lengthy, and the examples..." Read more
Customers appreciate that the book covers everything related to CSS, with one customer specifically noting its full coverage of CSS Grid.
"...Yep! This book! It covers everything about CSS you can imagine, including full coverage of CSS Grid, which is going to change everything...." Read more
"...This book covers everything CSS." Read more
"...It covers the latest CSS spec completely...." Read more
"Great Reference Book - Comprehensive in Scope..." Read more
Customers find the book's content accurate, with one customer noting its thoroughness and another mentioning its specific details.
"...already feel like I’ve learned so many new things about selectors, specificity, and the cascade that I didn’t know before and I’ve been writing CSS..." Read more
"...through this book I feel "The Definitive Guide" is a very accurate description. The book is comprehensive and up to date...." Read more
"...The author is, as is well known, a good, clear, thorough, accurate, experienced writer...." Read more
Customers have mixed opinions about the book's accessibility, with some finding it well organized and detailed, while others report it being incomprehensible and lacking examples.
"...The Table of Contents is laid out in a very detailed format along with the page numbers...." Read more
"...The book is comprehensive and up to date. The layout is accessible, the writing is clear and concise and the examples relevant and applicable..." Read more
"Extremely complete reference. Well organized. This is not a textbook to learn from (it is not organized like that)...." Read more
"Extremely complete reference. Well organized. This is not a textbook to learn from (it is not organized like that)...." Read more
Top reviews from the United States
There was a problem filtering reviews. Please reload the page.
- Reviewed in the United States on November 9, 2017This 4th Edition of Eric Meyer & Estelle Weyl’s CSS book is very thorough and comprehensive. At over 1,000 pages, every topic that I wanted to study is included. I’m planning on using this new CSS book as a reference book so being able to locate specific topics fairly quickly is important. The Table of Contents is laid out in a very detailed format along with the page numbers. To find something, you can easily just look at the Table of Contents and then flip to the page. Also the book has a comprehensive Index that lists pretty much everything you’ll be looking for right there. As a test, I looked in the Index for some random topics and found all of them listed in the Index with the page numbers. The book includes 3 Appendixes.
Appendix A – Animatable Properties
The properties included here are the properties given in the CSS Transitions specification and are CSS2.1.
Appendix B – Basic Property Reference
Properties are listed by name and are in alphabetical order. Example, picked at random:
Property
word-break
Default value
normal
Value syntax
normal |break-all|keep-all
Inh
Y
Anim
Y
Appendix C – Color Equivalence Table
This table lists the Color Name, RGB decimal, RGB percentage, HSL and Hexadecimal for about 4 pages worth of colors. You can look up colors by name and it serves as a quick reference for finding a color code to type in your style sheet. Example, picked at random:
Color Name
lightgray
RGB decimal
rgb(211,211,211)
RGB percentage
rgb(82.7%,82.7%,82.7%)
HSL
hsl(0,0,82.7%)
Hexadecimal
#D3D3D3
The content included in this book makes it clear the authors are experienced web developers. I’m going to look through my other CSS books and discard some in favor of this new one.
- Reviewed in the United States on November 29, 2017This is THE must-own CSS book. At over 1000 pages, it’s not exactly enjoyable bathtub reading, but is anything truly enjoyable these days anyway? Yep! This book! It covers everything about CSS you can imagine, including full coverage of CSS Grid, which is going to change everything. O’Reilly also sells individual sections of this book as mini books and I purchased most of those months ago. Those are EXCELLENT for bath reading, btw. I’ve been wanting to take this book to the office to show my coworkers, but I’m worried I may end up too sweaty by the time I carry it up 5 flights of stairs. It is that impressive! When it arrived at my house, my wife literally exclaimed, “WTF is that giant book?!” and now the chair I placed it on has a permanent dent in the cushion. So far, I’m like 4 chapters in (yes, I’m reading it cover-to-cover like a Nicholas Spark book) and I already feel like I’ve learned so many new things about selectors, specificity, and the cascade that I didn’t know before and I’ve been writing CSS forever. You can literally just open this book to any page and learn something new.
I wish I could own this with a hard cover. I also wish I could shake Mr. Meyer’s and Ms. Weyl’s hands and thank them while also acknowledging the worn-down nubs that used to be their typing fingers.
Buy this physical book! You will not regret it.
Pro tip: buy some post-it flags while you’re at it because you are going to want to bookmark the heck out of it.
- Reviewed in the United States on May 21, 2018Extremely complete reference. Well organized. This is not a textbook to learn from (it is not organized like that). This is a reference book for someone who already knows a lot of CSS.
Why pay for this book when you can just look up stuff on the web? Good question. The answer is the material is explained here in a way that provides more depth, context, and completeness than it is on the best websites I use (HTML5Doctor, MDN, W3C, and W3Schools.) And while sites like CSS Tricks are great, they only work if the question you have has been covered by them. This book covers everything CSS.
- Reviewed in the United States on October 22, 2017I am reviewing from the perspective of someone that has done web development for many years, but has only learned CSS in a piecemeal and ad hoc fashion - picking up the parts that I needed at any given moment in time, but not as a fundamental subject to be understood from the ground up. As of 10/22/17 I am over 100 pages in to the book and so far the content is excellent and deserving of five stars: it's comprehensive, strikes a good balance between terse and lengthy, and the examples are quickly understood.
I am docking one star due to two issues with the Kindle edition of the book:
1) There is no table of contents. This makes easily jumping to content of interest difficult, and is requiring that I fill my highlights with section headings.
2) There are formatting issues such as section headings not having margins, tables having odd alignment and wrapping (which breaks highlighting), note sections which look like they should be formatted differently but aren't, etc.
I would encourage the authors and/or publisher to work on these flaws and release an update. If such an update is released I will happily re-visit my review.
- Reviewed in the United States on March 12, 2018I have been working with CSS since it first came out and have worked to improve my knowledge with each new level as it was introduced. But, after getting just barely started in this book, I found a whole bunch I did not know about CSS 2.1 and CSS 3. If you only want one definitive guide to help you develop CSS skills, this is certainly it.
.
Eric Meyer is always a pleasure to read. He writes in a manor that is easy to read, and his high level of knowledge of a subject shines throughout this book. It IS a long read, and many parts you may have to read 2 or 3 times to absorb the content.
I am only about 1/2 way through, but have already incorporated much of what I have learned so far to greatly improve readability and other issues on the web sites I manage.
Recommend this highly for any developers ready to go the next step. Makes no difference the scripting language you use, we all need better CSS skills.
Top reviews from other countries
- Chaitali S.Reviewed in India on May 6, 2019
5.0 out of 5 stars Good book
The book is good and in very detail.
-
SequoiaReviewed in Spain on April 21, 2019
5.0 out of 5 stars Imprescindible si de verdad quieres dominar las hojas de estilo CSS
Es habitual que se utilicen nombres muy presuntuosos en este tipo de libros, sin embargo, este sí hace honor al título: realmente es la guía definitiva sobre el lenguaje CSS.
Dos de las autoridades más respetadas en el lenguaje CSS te van explicando minuciosamente todos los entresijos de las hojas de estilos. La narración es precisa y detallada pero fácil de entender. Todos los puntos que resultan algo retorcidos o confusos están reforzados con un abundante número de ejemplos llenos de imágenes e ilustraciones.
El libro está muy bien estructurado. Se puede leer de principio a fin o saltar entre los capítulos a voluntad. Se incluyen muchas referencias cruzadas para ampliar información cuando se hace referencia a algo que ya ha sido explicado o viceversa.
Personalmente es un libro que me ha ayudado muchísimo a entender ciertos detalles y asuntos que siempre me daban problemas (aparentemente inexplicables, pero que no lo eran). Para cada capítulo, no hay nada que se quede sin tocar. Por ejemplo, los autores no dudan en utilizar unas 110 páginas solo para explicar las propiedades relacionadas con el texto y las fuentes. Pese a ello, como ya dicho, es relativamente ameno y no se hace nada pesado (si tienes interés en conocer los detalles, claro está).
Se incluyen aspectos avanzados como el flex box, grid layout, table layout, transforms, transiciones, animaciones, etc. Lo recomiendo a todo el que busque un conocimiento sólido y profundo de las hojas de estilo. No creo que se haya escrito nada igual. He tenido algunos otros libros de CSS y no servían para nada.
- gettingtoooldReviewed in the United Kingdom on August 21, 2018
5.0 out of 5 stars Excellent
If you need to know up to date CSS properly - and not just tinkering with quick-and-dirty styling without understanding why what you're doing works - you need this book.
I've had every edition over the years and never regretted getting the newer versions.
When this arrived I thought initially that amazon had delivered the wrong item, as the package was rather heavy. But opening revealed a vast tome of over 1000 pages. Its good. Just take care not to drop it on your foot.
- DifraxionReviewed in Australia on January 21, 2021
5.0 out of 5 stars best css book
A great reference book.
-
Client d'AmazonReviewed in France on October 24, 2022
5.0 out of 5 stars Ressource prodigieuse pour maîtriser le CSS
je suis plutôt difficile au niveau des livres techniques, et celui-ci est un incroyable travail de digestion des documents de référence techniques correspondants à chaque fonctionnalité du CSS :
quasi exhaustif (à la date de 2017) avec des exemples très clairs, et tout cela avec une bonne dose d'humour.
On ne peut que s'incliner devant le travail des 2 auteurs. Si j'ai acheté cette édition en ebook,
j'achèterai définitivement la prochaine édition - que j'attends avec impatience - en version papier pour la garder sur mon bureau.