Is there a way to create two divs, each taking up 100% of the page width and side by side within a wrapper with overflow:hidden
? How can I achieve this?
I attempted using inline-block
, but it didn't produce the desired outcome.
Similarly, when I tried using float
, errors occurred. Any suggestions?
The goal is to have the second div hidden initially so that I can animate its left position, creating a sliding effect. Can anyone help with this?
Appreciate any assistance in advance!