How can I split the screen in two halves such as:
in order for in each half to add my custom elements?
Example: the blue side is a picture, the second half contains some random text inputs
I've been trying like this:
<div className={styles.splitScreen}>
<div className={styles.topPane}>
{topPane}
</div>
<div className={styles.bottomPane}>
{bottomPane}
</div>
</div>
with a scss file containing:
.splitScreen {
position: relative;
height: 100vh;
.topPane,
.bottomPane {
position: relative;
width: 100%;
height: 50%;
}
.topPane {
transform: rotate(180deg);
}
}
but to no success.