What does the position: relative; CSS rule do to an element?

  • It fixes the element in place
  • It makes the element relatively positioned
  • It places the element at the top of the page
  • It positions the element relative to its parent
The position: relative; CSS rule positions an element relative to its normal position, allowing adjustments based on this relative positioning without affecting the layout of surrounding elements.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *