Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Shiny: How to change a background colour of a column?

Tags:

r

shiny

I've got a fluidRow with three columns containing some widgets. Is it possible to change a colour of the middle column (or all widgets in this column) ?

For example: white column - gray column - white column

like image 611
Maju116 Avatar asked Jul 21 '15 21:07

Maju116


1 Answers

I think you can add style to an element; something like this:

column(3, style = "background-color:#4d3a7d;", ...)

Hope this helps

like image 143
Barranka Avatar answered Sep 30 '22 17:09

Barranka