When using layout like this:
div {
width: 25vw;
height: 150vh;
float: left;
background: rgb(30,120,210)
}
div:nth-child(2n+2) {
background: rgb(210,120,30)
}
<div></div>
<div></div>
<div></div>
<div></div>
Scrollbar crushes design. Without scrollbar it works just fine, each element takes 1/4 of the screen width. Well one solution would be to add width: calc(25vw - 17px)
to last element but my grid is way more complicated than that. So I was thinking if it's possible to make slider have rule similar to position: fixed
so it goes above elements rather than crushing them. Or even better, if possible, to remove scrollbar. This problem doesn't appear on Linux Firefox or Chrome.