What does setting position: sticky; on an element do? - Study24x7
Social learning Network

Warning: include(./views/auth.php): failed to open stream: Permission denied in /var/www/html/live/loginRightSlider.php on line 18

Warning: include(): Failed opening './views/auth.php' for inclusion (include_path='.:/usr/share/php') in /var/www/html/live/loginRightSlider.php on line 18

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/live/makepost.php on line 52
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

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/live/makepost.php on line 893
Most Related Articles

    Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/live/makepostRltdArtcl.php on line 8