Skip to content

Instantly share code, notes, and snippets.

@ajaegers
Created April 23, 2015 11:31
Show Gist options
  • Save ajaegers/ff86cbda7427213748c9 to your computer and use it in GitHub Desktop.
Save ajaegers/ff86cbda7427213748c9 to your computer and use it in GitHub Desktop.
CSS3 : Inverse dom elements with flex
/**
* Inverse dom elements for mobile display
* @link with the help of http://www.alsacreations.com/tuto/lire/1493-css3-flexbox-layout-module.html
*/
.media-inverse {
display: flex;
flex-wrap: wrap-reverse;
}
.media-inverse > div {
width: 100%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment