Apply a CSS style property as a conditional formatting rule
rule_css(x, columns, expression, css_field, na.value = "", lockcells = FALSE)A condformat object, typically created with condformat()
A character vector with column names to be coloured. Optionally
tidyselect::language() can be used.
This expression should evaluate to an array of the values
CSS style property name (e.g. "color")
CSS property value to be used in missing values (e.g. "grey")
logical value determining if no further rules should be applied to the affected cells.
Other rule:
rule_fill_bar(),
rule_fill_discrete(),
rule_fill_gradient2(),
rule_fill_gradient(),
rule_text_bold(),
rule_text_color()