float: Floats

View source: R/design-float.R

floatR Documentation

Floats

Description

Use float() to float an element to the left or right side of its parent element. A newspaper layout is a classic example where an image is floated with text wrapped around.

Usage

float(x, side)

Arguments

x

A tag element or .style pronoun.

side

A responsive argument. One of "left" or "right" specifying the side to float the element.

Examples


div() %>% float("left")
# ->
div() %>% cascadess::float("left")


nteetor/dull documentation built on Nov. 7, 2024, 2:11 p.m.