When you’re dealing with HTML and CSS, you’ll notice that while HTML has a standard format and syntax, CSS is like the wild wild west. There are many different ways of organizing your code: Single line, multi-line, order – it doesn’t matter much.
Harry Roberts wrote a helpful guide for Smashing Magazine on Writing CSS For Others, and although the tips are focused on writing CSS that’s easy to read by other developers and team members, there’s a lot that can be learned here for “Lone Rangers.”
If you’ve ever gone back to make an edit in your own CSS markup on a project that you haven’t looked at for some time, you can easily get lost in your own code.
Here are a few great tips to help make your own code more manageable.
Continue Reading…