Jump to ratings and reviews
Rate this book

CSS Refactoring: Architect Your Stylesheets for Success

Rate this book
Revisiting your code to remove redundancies and inconsistencies―known as refactoring―is a common practice when using programming languages. With this book, author Steve Lindstrom not only shows you how to structure your CSS to build a responsive, easy-to-use website, but also how to use refactoring tools to create faster, more readable CSS. Good CSS is essential to the look and feel of modern sites―as important as the HTML that dictates the site’s appearance and the JavaScript that runs the application. This book is ideal for seasoned front-end developers cleaning up an existing project, as well as those starting a new project for the first time.

157 pages, Paperback

First published February 25, 2015

1 person is currently reading
37 people want to read

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
1 (3%)
4 stars
5 (17%)
3 stars
10 (35%)
2 stars
6 (21%)
1 star
6 (21%)
Displaying 1 - 4 of 4 reviews
Profile Image for Alberto Garcia Ariza.
210 reviews15 followers
February 10, 2017
In Spanish we have the word "decepción" for 'disappointment", but more often than not we translate it into its false friend "deception" with no intention of meaning "fraud". This time, I think "Decepción-deception" suit perfectly.
Someone who is looking for a book with the word 'refactoring' in it, is not a newbie. So out of the 6 chapters, the first five talks about CSS basics and best practices (nothing special). And only the last one promises something close to refactoring strategies, that ends up saying something like follow the best practices of the previous chapters.
I was looking for some insights and help to refactor an existing css project. I wanted methodology for refactoring. but nothing is found in this book.
A simple search on google (https://goo.gl/xTboRt) will lead you to better results and grounded tips of valuable authors on the topic.
Definitely a waste of time and money
Profile Image for Alex.
200 reviews2 followers
January 21, 2020
While this book has some really good advice (especially pertaining to establishing a CSS coding standard), many of the suggestions seem more useful as a reference than as a textbook. Much of the book is dedicated to lines of CSS. Overall, this is less of a guide about how to Refactor CSS, and more of a primer on strategies to organize and maintain CSS.

It's also quite a short read -- the PDF clocks in at just under 160 pages, including the index and appendix. Really feels like a pocket primer, especially with the lack of exercises for the reader. Still, the suggestions are largely good (though my understanding of HTTP/2 suggests that file concatenation is not as big of a deal as the author makes it out to be).

Not quite what it says on the tin, and a little disappointing for an O'Reily. I will probably return to reference some of the normalization suggestions over time.
Profile Image for Jevgenij.
523 reviews13 followers
June 6, 2018
This book has very little to do with actual refactoring. Mostly basic stuff here.
Profile Image for Jakub Šimek.
15 reviews3 followers
May 1, 2020
Lists some good practices to follow, but there's very little practical advice on how to actually go about refactoring a heaping pile of messy legacy CSS into something usable.
Displaying 1 - 4 of 4 reviews

Can't find what you're looking for?

Get help and learn more about the design.