Five Ways to Write Better CSS

As elementary as this seems, I did find it quite useful. I’ve been using the * { margin: 0; padding: 0 } trick for a while, but never thought much about its effect on speed or radio buttons. I’ve also had fairly consistent but arbitrary ordering to my properties, and for some reason it never did cross my mind to just alphabetize the things. (Hat tip: @BoagLinks)

» 5 Ways to Write Better CSS

Comments

Leave a Reply

Explore