Day: June 4, 2020

Difference between relative and absolute positioningDifference between relative and absolute positioning

Difference between relative and absolute positioning Relative Positioning When position:relative is given to an element without any other attributes (top, bottom, left, right) nothing will happen. But when an attribute left:20px is added the element moves 20px to the right from its normal position. The element effects no other element on the layout. Other content […]