2023/09/22
How to position an element relative to its parent without affecting the flow of other sibling elements:
you’re most likely interested in
position: absolutewhich will position an element relative to a container. By default, the container is the browser window, but if a parent element either hasposition: relativeorposition: absoluteset on it, then it will act as the parent for positioning coordinates for its children.
See also: https://developer.mozilla.org/en-US/docs/Web/CSS/position#relative