3 ms·
Margin is a CSS property; using it (or not) is entirely consistent with semantic HTML. The "spacer" component in the article can be achieved with gaps using CSS
by jakelazaroff 7y ago
Margin is a CSS property; using it (or not) is entirely consistent with semantic HTML. The "spacer" component in the article can be achieved with gaps using CSS grid.
- pixelbash 7y agoCSS grid is a lifesaver, but grid-gap does not replace margin unless you have a very regular design.