shadow | R Documentation |
The shadow()
function adjusts the box shadow of a tag element.
shadow(x, size)
x |
A tag element or .style pronoun. |
size |
A character string specifying the shadow size. One of,
|
An object of the same type as x
.
library(htmltools)
div(
.style %>%
shadow("small")
)
div(
.style %>%
border_color(theme_warning()) %>%
background_color(theme_warning()) %>%
shadow("medium")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.