Skip to content

Instantly share code, notes, and snippets.

@StanleySathler
Last active July 28, 2020 04:30
Show Gist options
  • Save StanleySathler/97b033fa26dfe2ca9c9de1c7eb0cdeac to your computer and use it in GitHub Desktop.
Save StanleySathler/97b033fa26dfe2ca9c9de1c7eb0cdeac to your computer and use it in GitHub Desktop.
<div class="container">
<aside class="toolbar">.toolbar</aside>
<section class="preview">.preview</section>
<section class="timeline">.timeline</section>
</div>
* { box-sizing: border-box; }
body {
margin: 0;
}
.container {
display: grid;
width: 100vw;
height: 100vh;
grid-template-columns: 200px auto;
grid-template-rows: auto 130px;
grid-template-areas:
"toolbar editor"
"timeline timeline";
}
.nav {
grid-area: header;
}
.toolbar {
background: orange;
}
.preview {
background: gray;
}
.timeline {
background: green;
grid-area: timeline;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment