Skip to content

Instantly share code, notes, and snippets.

@jaseflow
Created August 5, 2015 00:00
Show Gist options
  • Select an option

  • Save jaseflow/d6c6486510f02ca9db16 to your computer and use it in GitHub Desktop.

Select an option

Save jaseflow/d6c6486510f02ca9db16 to your computer and use it in GitHub Desktop.
change order
<style>
.flex {
display: flex;
}
div div:nth-child(3) {
order: 2; /* Move third flex item to second spot */
}
</style>
<div class="flex">
<div>1</div>
<div>2</div>
<div>3</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment