Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
detaro
7y ago
0 comments
Save
Share
Flexbox generally is better if you have a dynamic number of elements. Grid isn't a replacement for flexbox.
0 comments
2 comments · 2 top-level
top
newest
oldest
molszanski
7y 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
7y ago
Implicit item positioning is a hallmark of CSS grid.
j
/
k
navigate · click thread line to collapse