Stop learning properties and start learning the model beneath them.
Most people who struggle with styling have not learned too little. They have learned a long list of things without the small set of ideas that holds the list together.
There is a particular feeling that arrives early when you learn to style web pages, and it is worth naming, because naming it is the first step out of it. You write something. Nothing changes. You write something else. Something changes, but not the thing you meant. You add another line, and now two things are wrong. Within an hour you are not designing anything, you are negotiating with a system whose reasoning you cannot see. Almost everyone goes through this. Very few people are told that the problem is not their memory, their talent or their patience. The problem is that they have been handed a vocabulary without a grammar.
A reference will tell you what each individual instruction does. It will not tell you why the browser chose one instruction over another, why a space appeared where you did not ask for one, or why a design that looked perfect on your screen came apart the moment someone typed a longer name into it. Those answers do not live in any single entry in the list. They live in the model: a small number of ideas about how style is chosen, how space is measured, how arrangement is described, and how a design behaves when reality pushes on it. Learn those, and the list becomes readable.
Continue reading