| flex_justify | R Documentation |
The flex_justify() function adjusts a tag element's main axis alignment. By
default, the main axis is the x-axis. When using flex_direction("column")
the main axis becomes the y-axis.
flex_justify(x, ...)
x |
A tag element or .style pronoun. |
... |
A character string specifying the main axis alignment. One of,
|
An object of the same type as x.
Other flex utilities:
flex_align(),
flex_content(),
flex_direction(),
flex_display(),
flex_wrap(),
item_align(),
item_fill(),
item_grow(),
item_order()
library(htmltools)
div(
.style %>%
flex_display() %>%
flex_justify("end"),
div("Flex item"),
div("Flex item"),
div("Flex item")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.