R shiny mainPanel display style and font

前端 未结 3 796
攒了一身酷
攒了一身酷 2021-01-31 10:16

I\'m learning shiny apps and have some basic questions about tweaking the layout, particularly style and font. I\'d be grateful for pointers or explicit answers, thanks!

3条回答
  •  -上瘾入骨i
    2021-01-31 10:54

    Another way to insert styling in Shiny is through its tag command. The result will be the same as inserting plain HTML:

    tags$style(type="text/css", ".span8 .well { background-color: #00FFFF; }")
    

    the result will be the same as inserting plain HTML code (in this example the result would be the same as the last code snippet by Scott)

提交回复
热议问题