border_width {cascadess}R Documentation

Increase or decrease border width

Description

Adjust the boder width of a tag element.

Usage

border_width(x, width)

Arguments

x

A tag element or .style pronoun.

width

A number between 1 and 5.

Value

An object of the same type as x.

See Also

Other border utilities: border_color()

Examples


library(htmltools)

div(
  .style %>%
    border_all() %>%
    border_width(3) %>%
    border_color(theme_primary())
)


[Package cascadess version 0.2.0 Index]