What are the difference between relative and absolute in CSS?
Question :
What are the difference between relative and absolute in CSS?
The main difference between relative and absolute is that “relative” is used for the
Same tag in CSS and it means that if we write the left:10px then the padding will shift to 10px In the left while absolute is totally relative to the non-static parent. It means if we write
Left:10px then the result will be 10px far from the left edge of the parent element.