0

How do i get my viewpoint fixed and not scroll along the web page as i scroll up and down?

I am presently building a webpage and required that the viewpoint must be fixed. The viewpoint is expected to contain the nav bar and the logo of the site. What I build has the entire page scrolling up and down but what I want to achieve is that the viewpoint be fixed whilst other parts of the page scroll along.

28th Mar 2019, 6:44 PM
Moshood Aderibigbe
2 Réponses
+ 4
What did you mean by viewport should be fixed and other parts should scroll? And kindly create a sample code which defines your problem and share the link here so that community can help you in a better way.
28th Mar 2019, 10:35 PM
Шащи Ранжан
Шащи Ранжан - avatar
+ 3
using fixed position
28th Mar 2019, 7:06 PM
Toni Isotalo
Toni Isotalo - avatar