Telling a chick you’re a front-end developer won’t get you laid, but it couldn’t hurt to try. You could always use the phrase “front-end engineer” to make yourself sound smarter.
Anyway, HTML and CSS dorkery isn’t for everyone, but this collection of best practices from Google is right up my alley. This is, definitively, the way you should be writing your documents, from the authority on website performance.
My favorite bit here on Declaration order in CSS Formatting:
Put declarations in alphabetical order in order to achieve consistent code in a way that is easy to remember and maintain.
Ignore vendor-specific prefixes for sorting purposes. However, multiple vendor-specific prefixes for a certain CSS property should be kept sorted (e.g.
-moz
prefix comes before-webkit
).
Alphabetize your CSS declarations, and make everyone’s life a whole lot easier.
Go on, read the whole thing. It’s a lot shorter than it seems at first glance.
by