cssGradientThreeColors {dashboardthemes} | R Documentation |
cssGradientThreeColors
Description
Generates CSS code for a gradient with three colors
Usage
cssGradientThreeColors(
direction = "down",
colorStart,
colorMiddle,
colorEnd,
colorStartPos = 0,
colorMiddlePos = 50,
colorEndPos = 100
)
Arguments
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. |
Value
CSS code. Gradient with three colors.
See Also
shinyDashboardThemeDIY, shinyDashboardLogoDIY
,
Examples
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
)
[Package dashboardthemes version 1.1.6 Index]