An element with position: ________ will behave like a position: relative element until the viewport reaches a certain scroll position.

  • absolute
  • fixed
  • relative
  • sticky
An element with position: sticky will behave like a position: relative element until the viewport reaches a certain scroll position, then it will be treated as position: fixed and will remain in place even during scrolling.
Add your answer
Loading...

Leave a comment

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