Each class in css actually defines a box~
Each class defines all situations in a div~
Including text Pictures, lists, etc.
Just like legislation, you must abide by the laws of which country you are from
Under the country, there are also provinces, cities, Districts, companies
This kind of
Then men have laws, women have laws, children have laws, the elderly have laws
Cats, dogs and all kinds of animals also have laws.
css is actually rule.
If you want to write css, if you want to write css quickly, you have to give yourself a priority.
Should we talk about the male or female first? Should you choose the elderly or the children first? Let’s talk about how cats move first or how dogs move?
You can use it as a doctrine, or you can create a template.