| item_order | R Documentation | 
The item_order() function adjusts the visual order of a tag element.
item_order(x, ...)
x | 
 A tag element or .style pronoun.  | 
... | 
 A number or character string specifying a position. 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_align(),
item_fill(),
item_grow()
library(htmltools)
div(
  .style %>%
    flex_display(),
  div(
    .style %>%
      item_order(3),
    "Third flex item"
  ),
  div(
    .style %>%
      item_order(2),
    "Second flex item"
  ),
  div(
    "First flex item"
  )
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.