# NOT RUN {
ribbon_css("https://github.com/colearendt/gitlink")
ribbon_css("https://github.com/colearendt/gitlink", position = "left", color = "#e4e4e4" )
ribbon_css("https://github.com/colearendt/gitlink", position = "left", color = "#eafffc")
# make default opacity 1
ribbon_css("https://github.com/colearendt/gitlink", fade = FALSE)
# customize the hover css
ribbon_css("https://github.com/colearendt/gitlink", hover_css = list("opacity" = "0.9"))
url <- "https://github.com/colearendt/gitlink"
# this one is particularly ugly, but proves a point
ribbon_css(url, parent_css = list("background-color" = "red"))
# modify the location for a flexdashboard
ribbon_css(url, parent_css = list(top = "50px", "z-index" = "10"))
# }
Run the code above in your browser using DataLab