Last active
August 29, 2015 14:11
-
-
Save niksudan/b9944fc0a5999fe5452b to your computer and use it in GitHub Desktop.
Flexbox class [CSS]
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
/** | |
* Generic flexbox class | |
*/ | |
.flex { | |
display: flex; | |
align-items: stretch; | |
justify-content: center; | |
} | |
@media (max-width: 750px) { .flex { display: inherit; } } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment