I always thought by setting the div to relative and right 0 would position the div all the way to the right, if its parent was 100% width. Apparently I\'m wrong and only abs
There's a way to make it work to a relative.
One way is first to set the parent of the display to inline-flex.
inline-flex
Next, set the element (child) position:relative; margin-left:auto; right:0;.
position:relative; margin-left:auto; right:0;