Created
June 26, 2015 05:55
-
-
Save Frithir/457369d6012b2654cf21 to your computer and use it in GitHub Desktop.
CSS - This is the code responsible for the centering of content
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
/* This is the code responsible for the centering of content */ | |
display: -webkit-box; | |
display: -moz-box; | |
display: -ms-flexbox; | |
display: -webkit-flex; | |
display: flex; | |
-webkit-flex-pack:center; | |
-webkit-justify-content:center; | |
-moz-justify-content:center; | |
-ms-flex-pack:center; | |
justify-content:center; | |
-webkit-flex-line-pack:center; | |
-ms-flex-line-pack:center; | |
-webkit-align-content:center; | |
align-content:center; | |
-webkit-flex-direction:column; | |
-moz-flex-direction:column; | |
-ms-flex-direction:column; | |
flex-direction:column; | |
text-align: center; | |
width: 200px; | |
height: 200px; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment