Problem Statement
What happens when you set an element’s position to relative?
Explanation
A relatively positioned element remains in the document flow but can be offset visually using top, left, bottom, or right properties.
Code Solution
SolutionRead Only
div { position: relative; top: 10px; left: 20px; }Practice Sets
This question appears in the following practice sets:
