There are 259 CSS properties. To be productive, you only need to know 20.
Here's the list of CSS rules you should remember, and how to derive the rest.
A thread 🧵
Here's the list of CSS rules you should remember, and how to derive the rest.
A thread 🧵
8. flex
9. flex-direction
10 align-items
11. justify-content
They're all necessary flexbox properties. Learn them in-depth from @NikkiSiapno.
9. flex-direction
10 align-items
11. justify-content
They're all necessary flexbox properties. Learn them in-depth from @NikkiSiapno.
20. box-sizing
Controls what width/height mean - content size or box size.
Just set `box-sizing: border-box;` on all elements to prevent frustration.
If you want to understand this, here's an in-depth explanation from @ishratUmar18
Controls what width/height mean - content size or box size.
Just set `box-sizing: border-box;` on all elements to prevent frustration.
If you want to understand this, here's an in-depth explanation from @ishratUmar18
@ishratUmar18 The 80/20 rule applies to CSS.
This guide is simplified and isn't a complete list of available properties/values. But that's the point! You don't need to know everything to be efficient.
If you enjoyed and want more of these:
1. Follow me @VincasStonys
2. Like & retweet
This guide is simplified and isn't a complete list of available properties/values. But that's the point! You don't need to know everything to be efficient.
If you enjoyed and want more of these:
1. Follow me @VincasStonys
2. Like & retweet
Loading suggestions...