| item_align | R Documentation |
The item_align() function adjusts
item_align(x, ...)
x |
A tag element or .style pronoun. |
... |
A character string specifying an alignment. One of,
|
An object of the same type as x.
Other flex utilities:
flex_align(),
flex_content(),
flex_direction(),
flex_display(),
flex_justify(),
flex_wrap(),
item_fill(),
item_grow(),
item_order()
library(htmltools)
div(
.style %>%
flex_display() %>%
flex_align("end"),
div("Flex item"),
div(
.style %>%
item_align("start"),
"Flex item (self aligned)"
),
div("Flex item")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.