+ 3

What is difference between relative and absolute position

20th Feb 2018, 3:23 AM
Anil Raj
Anil Raj - avatar
4 Answers
+ 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
20th Feb 2018, 4:35 AM
Elizabeth🌾
Elizabeth🌾 - avatar
+ 14
a complete lession 👉css positioning👈 https://www.w3schools.com/css/css_positioning.asp
20th Feb 2018, 3:54 AM
☆SampathđŸ‘»
☆SampathđŸ‘» - avatar
+ 2
thanxx alot😃
20th Feb 2018, 4:37 AM
Anil Raj
Anil Raj - avatar
+ 1
Thanks
23rd Feb 2018, 10:48 AM
Gabrielo Sombra
Gabrielo Sombra - avatar