shadow {cascadess} | R Documentation |
Visual depth
Description
The shadow()
function adjusts the box shadow of a tag element.
Usage
shadow(x, size)
Arguments
x |
A tag element or .style pronoun. |
size |
A character string specifying the shadow size. One of,
|
Value
An object of the same type as x
.
Examples
library(htmltools)
div(
.style %>%
shadow("small")
)
div(
.style %>%
border_color(theme_warning()) %>%
background_color(theme_warning()) %>%
shadow("medium")
)
[Package cascadess version 0.2.0 Index]