How to Write Better CSS with Performance in Mind - Hongkiat
Editor's note: This article is part of our Code Optimization series, where we take a look at how to optimize coding for better efficiency in a bid to be
70% Repetition in Style Sheets: Data on How We Fail at CSS-Optimization
Looking at data for some of the most popular websites, we repeat ourselves too much in CSS; using declarations just once is often one solid avenue to avoid repetition; together, we need to put more focus on style sheet optimization.
Hugo speaks from experience and gives us his personal suggestions on how to deal with a messy codebase, whether it's our own old project or something inherited.
Harry Roberts recently wrote about creating a Specificity Graph to get a better picture of your CSS. Harry’s conclusion is that a spiky graph is a bad graph. Spikes that occur mid-graph could lea...
How CSS unit tests helped us move fast – on progressive web apps
The way you manage styles can make or break a long-running web project. Keeping things modular helps a great deal, but that’s only part of the solution. Six months ago we had a go at setting up CSS unit tests for our UI components. Brilliant decision, as it turns out! Since then, our job is a lot nicer. The speed of development is fast and steady. Each of us on the team is now coding with confidence, without the fear that things might unexpectedly break. And here’s how we did it:
Improving CSS quality at Facebook and beyond | Engineering Blog | Facebook
With thousands of engineers working across a range of products at Facebook, we face some unique challenges when it comes to code quality. Not only are we dealing with a large codebase, but things are also moving fast — new features are being added, existing ones are being improved, and things are being reorganized. For [...]Read More...
The result of reviewing, normalizing, rephrasing, sorting, and testing 134 responses to a maintainability survey that yielded more than 500 data points, to form a new guide, a new and more definite guide to web maintainability.
How to Write Better Code: The 3 Levels of Code Consistency | CSS-Tricks
When working on an article about user-centered web development I ended up exploring a bit more the topic of consistency in code. Consistency is one of the