0
Why do we need to make positioning of a parent of an element "relative" if we want to position that element "absolute"?
Positioning
3 Answers
+ 1
Because relative will mark the boundary point for absolute element . If you will do absolute without making parent relative then the absolute element will look for a relatively or positioned element above his parent element and position itself relative to it , if there is no such element then it will position itself relative to body element.
+ 1
Abhay thank you for the explanation đŻđđœ it's starting to make sense
0
Barabbas correction at line 6 ,i meant relatively or absolutely* positioned