Description Usage Arguments Block vs inline Examples
The display()
function adjusts how a tag element is rendered. For example,
to use the flex box layout the display must be "flex"
.
1 |
x |
A tag element or .style pronoun. |
type |
A responsive argument. One of |
div( div( .style %>% border("blue"), "block" ), div( .style %>% border("blue"), "block" ) )
block
block
div( div( .style %>% border("blue") %>% display("inline"), "inline" ), div( .style %>% border("blue") %>% display("inline"), "inline" ) )
inline
inline
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.