EN
CSS - why does width: 100vw causes horizontal overflow?
1
answers
0
points
Why does width: 100vw causes horizontal overflow making my web page more than 100vw?
1 answer
0
points
The horizontal scrollbar appears because the vertical scrollbar's width is being taken into account.
Set your main component width to 100vw, then use width: 100% for the rest of your components. You can also use max-width: 100vw for the main component.
0 comments
Add comment