Don’t Use Margins For Spacing Between Components, Use Gaps
Layout guides for 2022
Published in
4 min readNov 30, 2021
The layout is hard.
There are many different CSS/HTML approaches these days, but most of them are wrong.
“I need to create vertical spacing between components; should I use margins or paddings?”
None.