View source: R/height-relative.R
height_relative | R Documentation |
The height_relative()
function adjusts a tag element's height relative to
the height of its parent element.
height_relative(x, percent)
x |
A tag element or .style pronoun. |
percent |
A number specifying a percent. One of,
|
An object of the same type as x
.
library(htmltools)
div(
.style %>%
height_relative(50)
)
div(
.style %>%
height_relative(75)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.