display: Display

View source: R/design-display.R

displayR Documentation

Display

Description

Use the display() utility to adjust how a tag element is rendered. All arguments are responsive allowing you to hide elements on small screens or convert elements from inline to block on large screens.

Usage

display(x, type)

Arguments

x

A tag element or .style pronoun.

type

A responsive argument. One of "inline", "block", "inline-block", "flex", "inline-flex", or "none".

See Also

Other design utilities: active(), affix(), background(), border(), flex(), float(), font(), height(), margin(), padding(), scroll(), shadow(), width()


nteetor/dull documentation built on June 10, 2022, 11:30 a.m.