Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jakelazaroff
· 6y ago · 0 comments
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.
Comments
[–]
pixelbash
6y ago
CSS grid is a lifesaver, but grid-gap does not replace margin unless you have a very regular design.