Skip to content

Instantly share code, notes, and snippets.

@GavinJoyce
Created April 15, 2016 08:37
Show Gist options
  • Save GavinJoyce/41d8585ee6542dc5f090845dc6c7a8c3 to your computer and use it in GitHub Desktop.
Save GavinJoyce/41d8585ee6542dc5f090845dc6c7a8c3 to your computer and use it in GitHub Desktop.
<style>
.flex-container {
display: flex;
width: 100%;
background-color: #eeeeee;
}
.flex-menu {
width: 100px;
margin: 10px;
}
.flex-content {
background-color: cornflowerblue;
width: 100%;
margin: 10px;
}
</style>
<div class="flex-container">
<div class="flex-menu">
menu
</div>
<div class="flex-item">
content
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment