border_width: Increase or decrease border width

View source: R/border-width.R

border_widthR 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())
)


cascadess documentation built on Oct. 30, 2024, 9:29 a.m.