Skip to content

Instantly share code, notes, and snippets.

@SFantasy
Created July 30, 2014 02:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SFantasy/933b5c434bcfbdd4fd47 to your computer and use it in GitHub Desktop.
Save SFantasy/933b5c434bcfbdd4fd47 to your computer and use it in GitHub Desktop.
垂直居中 (use flex box)
.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