View source: R/design-spacing.R
padding | R Documentation |
The padding
utility changes the inner spacing of a tag element. The padding
of a tag element is the space between the tag element's border and its
content or child elements. All arguments default to NULL
, in which case
they are ignored.
padding(x, all = NULL, top = NULL, right = NULL, bottom = NULL, left = NULL)
x |
A tag element or .style pronoun. |
all , top , right , bottom , left |
A responsive argument. One of |
div() %>% padding(2)
# ->
div() %>% cascadess::padding_all(2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.