powered by
The shadow() function adjusts the box shadow of a tag element. Shadows help distinguish elements or indicate interactivity.
shadow()
shadow(x, size)
A tag element or .style pronoun.
One of "small", "sm", "medium", "md", "large", "lg", or "none" specifying the amount of shadow added.
"small"
"sm"
"medium"
"md"
"large"
"lg"
"none"
small
sm
medium
md
large
lg
none
# NOT RUN { library(htmltools) div( .style %>% shadow("md"), "Donec posuere augue in quam." ) div( .style %>% border("red") %>% shadow("small"), "Praesent augue." ) # }
Run the code above in your browser using DataLab