Created
July 30, 2014 02:29
-
-
Save SFantasy/933b5c434bcfbdd4fd47 to your computer and use it in GitHub Desktop.
垂直居中 (use flex box)
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
.out-box | |
display: -webkit-flex | |
display: flex | |
height: 100px | |
& > p | |
margin: auto 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment