Skip to content Skip to sidebar Skip to footer

Css - Vertical Scroll Bar Remove

Below is the code of the menu line with left&right additional images. I need the behavior: when resolution of the screen width something from 960px to 1398px -- left&right

Solution 1:

You could use a media query:

body{
    overflow-y:hidden;
}
@media only screen and (max-width:960px){
    body{
        overflow-y:scroll;
    }
}

That will hide the scroll bar when the browser window is less than than 960px in width.


Solution 2:

body{
overflow-y:hidden;
}

Like this?


Post a Comment for "Css - Vertical Scroll Bar Remove"