Is there a way to disable the scroll bar function in Chrome when the screen resolution is at its maximum (full screen), but enable it when the screen resolution is minimized? If so, how can this be achieved?
.content {
margin: 1vmin;
padding: 12px;
margin-top:23%;
background-color: blue;
height: 1000px;
}
I have tried using the CSS code above. It works fine for minimized pages, but in full screen mode, an unnecessary scrollbar appears. I need to find a way to remove it.