Created
December 15, 2017 08:06
-
-
Save wcxaaa/159ee9e18e890b052482c16cd3046786 to your computer and use it in GitHub Desktop.
CSS - description page div align parent left or right
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
@media only screen and (min-width: 992px) { | |
.flex-left { | |
display: flex; | |
flex-direction: row; | |
} | |
.flex-right { | |
// usage e.g.: div align right. | |
// can also replace Bootstrap col-md-push and col-md-pull back in bootstrap 3 | |
display: flex; | |
flex-direction: row-reverse; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment