View source: R/CreateCss_cssGradientThreeColors.R
cssGradientThreeColors | R Documentation |
Generates CSS code for a gradient with three colors
cssGradientThreeColors( direction = "down", colorStart, colorMiddle, colorEnd, colorStartPos = 0, colorMiddlePos = 50, colorEndPos = 100 )
direction |
String. Direction of the gradient (down/right). Defaults to down. |
colorStart |
String. Start (top/left) colour of the gradient. |
colorMiddle |
String. Middle colour of the gradient. |
colorEnd |
String. End (bottom/right) colour of the gradient. |
colorStartPos |
Numeric. Position of the start colour. Defaults to 0. |
colorMiddlePos |
Numeric. Position of the middle colour. Defaults to 50. |
colorEndPos |
Numeric. Position of the end colour; defaults to 100. |
CSS code. Gradient with three colors.
shinyDashboardThemeDIY, shinyDashboardLogoDIY
,
cssGradientThreeColors( direction = "right" ,colorStart = "rgba(44,222,235,1)" ,colorMiddle = "rgba(44,222,235,1)" ,colorEnd = "rgba(0,255,213,1)" ,colorStartPos = 0 ,colorMiddlePos = 30 ,colorEndPos = 100 )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.