GitHub 6956★

Have you seen CSS Scan?

The fastest and easiest way to check, copy and edit CSS.

Learn more →

CSS Scan logo

Split screen

HTML

<div class="split-screen">
<!-- Left content -->
<div class="split-screen__half">...</div>

<!-- Right content -->
<div class="split-screen__half">...</div>
</div>

CSS

.split-screen {
display: flex;
}

.split-screen__half {
flex: 1;
}
Demo
Follow me on and to get more useful contents.