How often do front end devs care if the horizontal or vertical spacing of DOM elements is done with margin vs. padding?
The most popular answer on google is here.
Seems like the main thing to consider is that
- Margins collapse.
- Padding affects click area.
Any other great references on this?
Any tips for changes in how you use margin padding when doing flex layout?