Help us invent CSS Grid Level 3, a.k.a. "Masonry" layout
1–10 of 359 posts
Re: Help us invent CSS Grid Level 3, a.k.a. "Masonry" layout
#2In each case it'd look much nicer with a proper masonry layout but it's still very usable otherwise (and of course you could feature detect to provide a better fallback if you're not happy with that anyway).
Re: Help us invent CSS Grid Level 3, a.k.a. "Masonry" layout
#3Re: Help us invent CSS Grid Level 3, a.k.a. "Masonry" layout
#4Re: Help us invent CSS Grid Level 3, a.k.a. "Masonry" layout
#5If one wants to do a "Masonry" layout, what's wrong with calculating it via JavaScript?
Re: Help us invent CSS Grid Level 3, a.k.a. "Masonry" layout
#6Re: Help us invent CSS Grid Level 3, a.k.a. "Masonry" layout
#7If one wants to do a "Masonry" layout, what's wrong with calculating it via JavaScript?
Re: Help us invent CSS Grid Level 3, a.k.a. "Masonry" layout
#8If one wants to do a "Masonry" layout, what's wrong with calculating it via JavaScript?
Re: Help us invent CSS Grid Level 3, a.k.a. "Masonry" layout
#9OK, having read a lot more, here's my thoughts.
I love the possibilities that can be raised here when masonry is built into grid, but you can target specific rows and columns for specific elements in grid. This is a useful thing for some layouts, but when the rows are truly non-existent (unlike the related auto fill/fit stuff we've had until this point) I feel like the abstraction begins breaking down. As much as I love that we have Apple pushing to get this done, I do think it is probably better to go with a net new masonry display type :-/
Re: Help us invent CSS Grid Level 3, a.k.a. "Masonry" layout
#10If one wants to do a "Masonry" layout, what's wrong with calculating it via JavaScript?
You'd rather maintain all the maths and JS dependencies for this than have browsers just render what you want?