padding_all {cascadess} | R Documentation |
Padding
Description
The padding_*()
functions adjust a tag element's padding, the space between
the element's border and its content or child elements.
Usage
padding_all(x, ...)
padding_top(x, ...)
padding_right(x, ...)
padding_bottom(x, ...)
padding_left(x, ...)
padding_horizontal(x, ...)
padding_vertical(x, ...)
Arguments
x |
A tag element or .style pronoun. |
... |
A number specifying the amount of padding. One of,
|
Value
An object of the same type as x
.
Examples
library(htmltools)
div(
.style %>%
border_color(theme_primary()) %>%
padding_all(2),
"A padded element"
)
[Package cascadess version 0.2.0 Index]