View source: R/design-border.R
border | R Documentation |
Use border()
to add or modify tag element borders.
border(x, color = NULL, sides = "all", round = NULL)
x |
A tag element or .style pronoun. |
color |
One of |
sides |
One or more of |
round |
One or more of |
Card borders and font colors.
card( .style %>% border("primary") %>% font("primary"), header = "Primary", p("Cras justo odio, dapibus ac facilisis in, egestas eget quam."), p("Etiam porta sem malesuada magna mollis euismod.") )
Cras justo odio, dapibus ac facilisis in, egestas eget quam.
Etiam porta sem malesuada magna mollis euismod.
Other design utilities:
active()
,
affix()
,
background()
,
display()
,
flex()
,
float()
,
font()
,
height()
,
margin()
,
padding()
,
scroll()
,
shadow()
,
width()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.