The difference between “position: fixed” & “position: sticky” in CSS by coding_dev_ 🔥
The position: fixed means fixed to the viewport. We tell it where to position itself (top, bottom, right, or left) and it will stay there fixed when user scrolling.
Meanwhile, when using position: sticky it won’t affect until we define offset, like top: 10px. So the element will scroll like others until it reaches the offset and then stay on its position.
Hope this helps ✅️
Post Credits: coding_dev_ 🌟
Do Like ❤️ & Share 🙌
#html #css #javascript #webdev #100daysofcode #webdeveloper #css3 #html5 #htmlcoding #htmlcss #javascriptdeveloper #frontenddeveloper #devcommunity
Css tricks, css positions, css tutorial, css sticky position , html, web developer, frontend development
On this page of the site you can watch the video online CSS Position Fixed vs Sticky 🤯🤯🤯 with a duration of hours minute second in good quality, which was uploaded by the user Code Jungle 10 July 2024, share the link with friends and acquaintances, this video has already been watched 3,447 times on youtube and it was liked by 127 viewers. Enjoy your viewing!