Daily Archives: April 28, 2012


Keep it Classy

One of the most-forgotten best practices in CSS is reusing your code when your elements aren’t exactly the same. Let’s take these two buttons as an example. We have two very similar buttons, the only difference is the background color. Blue… class=”blueButton” …and orange. class=”orangeButton” Let’s look at the CSS that it took to get [...]