What does setting position: sticky; on an element do? - Study24x7
Social learning Network
09 May 2024 11:38 AM study24x7 study24x7

What does setting position: sticky; on an element do?

A

Keeps the element fixed at the top of the viewport

B

Allows the element to scroll away with the page

C

Positions the element based on the user's scroll position, toggling between relative and fixed

D

Makes the element unresponsive to scroll events

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles