I have encounterd a problem, and as im new to this, could anyone please help me to find the issue or can anyone please tell me how to get vertical scroll in mobile view only?
Heres is the example
import HorizontalScroll from 'react-scroll-horizontal'
function App() {
const object = { width: `100vw`, height: `78%`}
return (
<div className="App">
<HorizontalScroll
reverseScroll = { true }
style = { object }>
<div className='main bg1'>
<LandingPage />
</div>
<div className='main bg2'>
<PDP />
</div>
<div className='main bg3'>
<Onboarding />
</div>
<div className='main bg4'>
<Execution1 />
</div>
</HorizontalScroll>
</div>
);
}
I have encounterd a problem, and as im new to this, could anyone please help me to find the issue or can anyone please tell me how to get vertical scroll in mobile view only?
Heres is the example