height_relative {cascadess} | R Documentation |
Relative height
Description
The height_relative()
function adjusts a tag element's height relative to
the height of its parent element.
Usage
height_relative(x, percent)
Arguments
x |
A tag element or .style pronoun. |
percent |
A number specifying a percent. One of,
|
Value
An object of the same type as x
.
Examples
library(htmltools)
div(
.style %>%
height_relative(50)
)
div(
.style %>%
height_relative(75)
)
[Package cascadess version 0.2.0 Index]