Efficient CSS
making the browser work less and users wait less
As I am relatively new to the web development world, I’ve been trying to form good habits from the start. Still, even with less than a year under my belt since I first googled the words, “web design tutorials,” I am realizing that I may have already started to develop some bad practices when starting projects. It is a little intimidating to open up the text-editor and stare at a blank page, hoping to be inspired. So once inspiration strikes, I have a tendency to alternate between haphazardly jotting down CSS rules and refreshing the browser to see if the desired change has taken effect. This process generally results in a disorganized, inefficient stylesheet.
Recently however, I decided to do a little digging - inspired by this article by treehouse teacher, Guil Hernandez - and have learned a few things about how to write CSS that is...