Use position_sticky()
to position an element at the top or bottom of the
viewport after scrolling past the element.
Arguments
- x
A tag element or .style pronoun.
- ...
A character string specifying an edge. One of,
"bottom"
"top"
Use name-value pairs to specify breakpoints.
See also
Other position utilities:
position_centered()
,
position()