Created
April 23, 2015 11:31
-
-
Save ajaegers/ff86cbda7427213748c9 to your computer and use it in GitHub Desktop.
CSS3 : Inverse dom elements with flex
This file contains 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
/** | |
* 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