Convenience functions for common operations.
important_(value)url_(value)
rgb_(r, g, b)
rgba_(r, g, b, a = 0.5)
Value to use.
Red, green, blue, and alpha values.
important_()
- Makes it such that the rule cannot be overwritten by other rules (other selections).
rgb_()
, rgba_()
- Functions for red, green, blue and alpha for transparency.
url_()
- Wrap in a url
CSS function call.
# NOT RUN {
Linne$
new()$
rule(
sel_id("id"),
color = rgba_(255, 255, 255, .6),
fontSize = important_(20)
)
# }
Run the code above in your browser using DataLab