item_fill | R Documentation |
The item_fill()
adjusts how tag elements fill a flex element.
item_fill(x, ...)
x |
|
... |
A boolean specifying to fill. One of
Use name-value pairs to specifying breakpoints. |
An object of the same type as x
.
Other flex utilities:
flex_align()
,
flex_content()
,
flex_direction()
,
flex_display()
,
flex_justify()
,
flex_wrap()
,
item_align()
,
item_grow()
,
item_order()
library(htmltools)
div(
.style %>%
flex_display(),
div(
.style %>%
item_fill(TRUE),
"Flex item"
),
div(
.style %>%
item_fill(TRUE),
"Flex item"
),
div(
.style %>%
item_fill(TRUE),
"Flex item"
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.