How to draw a line with color in shiny application

前端 未结 2 906
借酒劲吻你
借酒劲吻你 2020-12-30 10:40

This may be a simplest thing for lot of people, but I\'m struggling with it. I\'d like to draw a line with color using html tag \"hr\" This is what I have tried so far in u

2条回答
  •  太阳男子
    2020-12-30 11:23

    It took a little bit of quick digging/reading into the answers and comments here, but, summarizing, this looks to work (I tested on Mac Chrome, Safari, and Firefox):

    tags$hr(style="border-color: purple;")
    

    You can use HTML(), too, if desired, but might as well stick with the Shiny tags, IMHO.

提交回复
热议问题