I’ve been teaching an Introductory to HTML and CSS course for Ladies Learning Code for a few years now, and usually part way through the CSS exercise somebody will ask, “how do you know where to add that CSS property?”. My answer is always, “it’s alphabetical” — everybody usually laughs, then realize I’m serious.
Usually it’s the mentors that then questions, “why?”. This is because mentors are people who’ve been working in the industry for some time and often never heard of the approach. I usually proceed to explain why, which I will detail later on. What actually prompt me to write this article was how unpopular or discussed this method is. After doing some research (Google searching and reading the handful of forums) there doesn’t seem to be a lot of people practicing alphabetical ordering of properties — in fact the poll at
... read the whole story at medium.com.