Absolute positioning covers only the element. It can shift or stretch or contract to fulfill all the mentioned left, right, bottom, or top properties.
If a parent element has got the position: relative; and its child element has the position: absolute; the child element adjusts its position within the parent element.
If the element does not have the parent or the parent element is not having the position: relative; the absolute positioning of the child takes reference from the body.
Join this channel to get access to perks:
/ @sirchogyal
❀ Visit my blog at http://v815.blogspot.com
❀ Join me on Telegram: https://telegram.im/@code8home
▶️ Subscribe to this channel for more videos.