CSS_Interview_Questions_Answers_Yogesh_Sabale
CSS_Interview_Questions_Answers_Yogesh_Sabale
What is the difference between relative, absolute, and fixed positioning in CSS?
Relative: Positioned based on its normal position. Absolute: Positioned relative to the nearest
positioned ancestor. Fixed: Positioned relative to the viewport.