position_top {cascadess} | R Documentation |
Position offset
Description
Use position_<side>()
to adjust the position offset of a tag element.
Usage
position_top(x, offset)
position_left(x, offset)
position_bottom(x, offset)
position_right(x, offset)
Arguments
x |
A tag element or .style pronoun. |
offset |
A number specifying a percent. One of,
|
Value
An object of the same type as x
.
Examples
library(htmltools)
div(
.style %>%
position("absolute") %>%
position_right(0)
)
[Package cascadess version 0.2.0 Index]