Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
detaro
· 8y ago · 0 comments
Flexbox generally is better if you have a dynamic number of elements. Grid isn't a replacement for flexbox.
Comments
[–]
molszanski
8y ago
Grid can also be amazing for dynamic number of elements! Check this out:
https://gridbyexample.com/examples/example17
Grid has an amazing repeat feature:
https://developer.mozilla.org/en-US/docs/Web/CSS/repeat
Very powerful.
[–]
benjvmin
8y ago
Implicit item positioning is a hallmark of CSS grid.