Live data from Hacker News

Show HN: Layoutit – An interactive CSS Grid generator

layoutit.com

21–30 of 75 posts

Re: Show HN: Layoutit – An interactive CSS Grid generator

#21

If you're taking requests, a similar page for Flexbox would be the bee's knees.

Is there a case you would prefer Flexbox over Grid?

Flexbox generally is better if you have a dynamic number of elements. Grid isn't a replacement for flexbox.

Re: Show HN: Layoutit – An interactive CSS Grid generator

#22

If you're taking requests, a similar page for Flexbox would be the bee's knees.

Is there a case you would prefer Flexbox over Grid?

IE support? Only an old version of grid is supported in IE. One which is not compatible with the new spec.

Re: Show HN: Layoutit – An interactive CSS Grid generator

#24

If you're taking requests, a similar page for Flexbox would be the bee's knees.

Is there a case you would prefer Flexbox over Grid?

Browser support as well. Grid is only about https://caniuse.com/#feat=css-grid

Re: Show HN: Layoutit – An interactive CSS Grid generator

#26

Nice tool, will take a proper look at this later this evening. Reminds me of this offline tool: https://cssgrid.cc/ which is also quite well rated

Do you actually use that tool?

It looks promising but I really don't like having to download software to make a web layout.

Re: Show HN: Layoutit – An interactive CSS Grid generator

#28
post #21

Earlier quoted context omitted.

Is there a case you would prefer Flexbox over Grid?

Flexbox generally is better if you have a dynamic number of elements. Grid isn't a replacement for flexbox.

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.

Re: Show HN: Layoutit – An interactive CSS Grid generator

#29

If you're taking requests, a similar page for Flexbox would be the bee's knees.

Is there a case you would prefer Flexbox over Grid?

Here's a great explanation from Jen Simmons that really helped me understand the differences and respective strengths and weaknesses of each:

https://www.youtube.com/watch?v=hs3piaN4b5I

Re: Show HN: Layoutit – An interactive CSS Grid generator

#30

If you're taking requests, a similar page for Flexbox would be the bee's knees.

Is there a case you would prefer Flexbox over Grid?

Grid suffers when you deal with things of unknown variable height and unknown number of child items.

I use a mix of flexbox and floats to achieve any desired layout for RWD

Grid only has 87% browser support

Post reply on HN