Description Usage Arguments Details
Generate CSS grid
1 2 3 4 5 6 7 8 9 10 | grid_layout(..., display = c("grid", "inline-grid"), grid = NULL,
template = NULL, rows = template_rows, template_rows = NULL,
cols = template_columns, template_columns = NULL,
areas = template_areas, template_areas = NULL, flow = c("", "row",
"column", "dense", "row dense", "column dense"), auto_flow = c("",
"row", "column", "dense", "row dense", "column dense"),
auto_rows = NULL, auto_cols = auto_columns, auto_columns = NULL,
row_gap = NULL, column_gap = NULL, gap = NULL,
justify_content = NULL, align_content = NULL, justify_items = NULL,
align_items = NULL, style = NULL)
|
... |
Items in the container |
display |
Specifies the CSS's |
template, auto_flow, auto_rows, auto_columns, row_gap, column_gap, gap, grid |
CSS properties of |
rows, cols, areas, flow, auto_cols |
Aliases of |
template_rows, template_columns |
A character vector to specify size of each rows and columns in the grid
such as |
template_areas |
A vector, a matrix, or a data frame.
If a vector, separate names of each areas in a row by space,
and separate columns by elements such as |
justify_content, align_content, justify_items, align_items |
Arguments equivalent to the CSS's justify-content, align-content, justify-items, align_items properties, respectively.' |
style |
Additional values of the style attribute such as |
Default values of NULL
or ""
indicate the corresponding CSS properties
are not specified.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.