position: fixed; property in CSS

 1) Position fixed property is same as the position absolute property but the reference( parent element) is always the viewport.

And also the element where we have used the position: fixed; property will be fixed at the place where we fixed it no matter if we scroll end number of times, since its' reference is the viewport.


Comments