Skip to main content

Grid Item

A member of a grid can place itself according to a row/column index and specify its span in cells

Place this x axis of an element at column index 2 (0 based) and span two cells

style grid-item {
GridItemX = 2 span 2;
}

Place this x axis of an element at column index 2 (0 based) and span 1 cell (default if not provided)

style grid-item {
GridItemX = 2;
}

Place this x axis of an element anywhere in the grid and span 2 cells

style grid-item {
GridItemX = span 2;
}

Place this x axis of an element anywhere in the grid and span 1 cell

style grid-item {
GridItemX = -1;
}