Created
August 5, 2015 00:00
-
-
Save jaseflow/d6c6486510f02ca9db16 to your computer and use it in GitHub Desktop.
change order
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <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