| lt_css | R Documentation |
Add user-supplied stylesheets or inline rules that render after the built-in CSS, so rules can override the defaults.
lt_css(x, ...)
x |
An |
... |
Unnamed arguments are stylesheet paths or URLs. A bare
filename (no directory component) that does not exist in the working
directory is resolved against the stylesheets shipped with lt, so
e.g. Named arguments define inline CSS rules scoped to |
x with the stylesheets recorded.
tbl = lt(head(mtcars))
tbl |>
lt_style("mpg", test = "v => v > 20", class = "high") |>
lt_css(.high = list(background = "#cfc", fontWeight = "bold"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.