rounded_all {cascadess} | R Documentation |
Element corners
Description
The rounded_*()
functions adjust the corners of a tag element.
Usage
rounded_all(x, size)
rounded_top(x, size)
rounded_right(x, size)
rounded_bottom(x, size)
rounded_left(x, size)
Arguments
x |
A tag element or .style pronoun. |
size |
A number or character string specifying a corner size. One of,
|
Value
An object of the same type as x
.
Examples
library(htmltools)
div(
.style %>%
rounded_all(3)
)
div(
.style %>%
rounded_left("pill")
)
[Package cascadess version 0.2.0 Index]