The position: ________ property creates a new stacking context and positions an element in relation to the browser viewport.

  • absolute
  • fixed
  • relative
  • static
The position: absolute property creates a new stacking context and positions an element relative to its nearest positioned ancestor or to the containing block. This is useful for precise positioning within the document structure.
Add your answer
Loading...

Leave a comment

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