bhaiya in absolute positioning the div container changes it position according to his top left container but same time bhaiya is saying its changes according to his parent but here it is changing according to his superparent
Bhaiya in absolute positioning the div container changes it position according to his top left container but same time bhaiya is saying its changes according to his parent but here it is changing according to his superparent
@Aditya-Kushwaha-914550392281281 read about positions in css here:
https://www.w3schools.com/css/css_positioning.asp
absolute position changes the position of the div, relative to the first parent that is not static. Not static means anything except static.
bhaiya jab mai postioning mai absolute use krta hu then wo browser ki window ke hisaab sew position leta hai jbki maine usko ek constainer mai daal ahai
@Aditya-Kushwaha-914550392281281 absolute takes the position relative to its first non static parent, it your case the container may be spanning the whole browser window area (that’s why it is taking position according to the browser window)