You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Or is it two in terms of row, and three in terms of column? (I mean, a grid item has two grid spans.)
I believe, that's the correct understanding. The grid item has two grid spans, one for each axis. In the given example, it spans 3 grid tracks along the inline axis and 2 grid tracks along the block axis.
Yeah, a span of 2 in terms of row, and 3 in terms of columns. Virtually everything about grids is agnostic to the direction, and works in one axis at a time.
Activity
xfq commentedon Nov 17, 2017
Or is it two in terms of row, and three in terms of column? (I mean, a grid item has two grid spans.)
Or three in terms of row, and two in terms of column? (Because the grid item "spans" three columns in a row.)
SelenIT commentedon Nov 17, 2017
I believe, that's the correct understanding. The grid item has two grid spans, one for each axis. In the given example, it spans 3 grid tracks along the inline axis and 2 grid tracks along the block axis.
tabatkins commentedon Nov 17, 2017
Yeah, a span of 2 in terms of row, and 3 in terms of columns. Virtually everything about grids is agnostic to the direction, and works in one axis at a time.
xfq commentedon Nov 18, 2017
Thanks.
IMHO the definition text of grid span should be clearer, although I don't have a good proposal for the improved dfn for the moment.
fantasai commentedon Nov 27, 2017
OK, we've updated clarified the definitions a bit. @xfq Let us know if it looks okay now?
xfq commentedon Nov 28, 2017
Thanks Tab & fantasai! It looks okay to me now. ^_^