Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Justify for inline-block, and vertical-align for inline-block
=justify
text-align: justify
line-height: 0
font-size: 0
text-justify: newspaper
zoom: 1
text-align-last: justify
&:after
content: ""
display: inline-block
width: 100%
height: 0px
visibility: hidden
overflow: hidden
=vertical
text-align: center
font-size: 0
&:before
content: ""
display: inline-block
vertical-align: middle
width: 0
height: 100%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment