css_position | R Documentation |
Sets position for an absolutely positioned element. Setting one of top or bottom or one of left or right will "unset" the other. It's probably not a good idea to set both top and bottom or right and left.
css_position(top = "1em", right = "1em", left = NULL, bottom = NULL)
top , right , bottom , left |
The position of the element in distance from the top, right, bottom, or left edge of it's container element. |
An object of class css_position
that describes top
, right
,
bottom
, and left
positions.
css_position(top = "1em", right = "1em") # top right corner
css_position(top = "1em", left = "1em") # top left corner
css_position(bottom = 0, right = 0) # bottom right corner
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.