+ 3
What is difference between relative and absolute position
4 Réponses
+ 44
relative:-
An element with position: relative; is positioned relative to its normal position.
Setting the top, right, bottom, and left properties of a relatively-positioned element
will cause it to be adjusted away from its normal position. Other content will not be
adjusted to fit into any gap left by the element.
absolute:-
An element with position: absolute;
is positioned relative to the nearest positioned ancestor (instead of positioned relative to the viewport, like fixed).
for more informations you can visit this link
https://qph.ec.quoracdn.net/main-qimg-9b646ce74bb42a04de3c6928cf04bb45
+ 14
a complete lession 👉css positioning👈
https://www.w3schools.com/css/css_positioning.asp
+ 2
thanxx alot😃
+ 1
Thanks