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.
Loading...
Related Quiz
- Bootstrap incorporates a ________ system for quickly developing responsive layouts.
- The CSS property text-transform can be used to change the text to ________.
- How does the @page rule in CSS for Print influence the printed content?
- To address accessibility concerns, alternative text for icon fonts can be provided using the ________ attribute.
- In Flexbox, which property is used to align items vertically in the container?