Skip to content

Instantly share code, notes, and snippets.

@jacobmischka
Created October 20, 2016 17:54
Show Gist options
  • Save jacobmischka/fbee8eedcca2c9a3dfda9d16cc951efc to your computer and use it in GitHub Desktop.
Save jacobmischka/fbee8eedcca2c9a3dfda9d16cc951efc to your computer and use it in GitHub Desktop.
index.html
<html>
<head>
<style>
.container {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin: 0 -20px;
}
.child {
flex-grow: 1;
flex-shrink: 1;
min-width: 400px;
margin: 20px;
border: 2px solid black;
}
</style>
</head>
<body>
<div class="container">
<div class="child">
<p>
shit
</p>
</div>
<div class="child">
<p>
shit
</p>
</div>
<div class="child">
<p>
shit
</p>
</div>
<div class="child">
<p>
shit
</p>
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment