How to make the body have a scroll

2

How can I make the body of a site have a scroll, so users can drag the bar down and up to see all the information on the site.

    
asked by anonymous 23.03.2016 / 20:01

1 answer

2

With css, like this? 100 vh takes and the height of 100 parts of the screen, if it passes this will put a scroll on the screen.

body{
   overflow:auto;
  height: 100vh;
  }
    
23.03.2016 / 20:02