I'm currently using react, bootstrap and react-bootstrap.
when i render:
//react component
const Title2D = () => {
return(
<div>
<div className="fullvisual">
</div>
<div className="fullvisual">
</div>
</div>
)
}
//css
.fullvisual{
width: 100vw;
height: 100vh;
}
a little bit of horizontal scroll bar gets created. What really confuses me is that changing the width does not affect the horizontal scroll, but it is rather the vh that is causing the scroll bar to appear. When I set the value of height to an absolute value, the scroll bar disappears.