Skip to content

Instantly share code, notes, and snippets.

@fizx
Last active December 31, 2015 13:39
Show Gist options
  • Save fizx/7994520 to your computer and use it in GitHub Desktop.
Save fizx/7994520 to your computer and use it in GitHub Desktop.
<html>
<style>
body {
display: flex;
}
#a {
background-color: green;
width: 60%;
order: 2;
}
#b {
background-color: red;
flex: 1;
order: 1;
}
#c {
background-color: blue;
flex: 1;
order: 3;
}
</style>
<body>
<div id="a">a</div>
<div id="b">b</div>
<div id="c">c</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment