Created
May 16, 2015 21:56
-
-
Save denis-shvets/01889d3841d57abbf66e to your computer and use it in GitHub Desktop.
CSS: Justify
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
.container { | |
font-size: 0; | |
line-height: 0; | |
text-align: justify; | |
text-justify: newspaper; | |
text-align-last: justify; | |
zoom: 1; | |
} | |
.container:after { | |
display: inline-block; | |
height: 0; | |
overflow: hidden; | |
visibility: hidden; | |
width: 100%; | |
content: ''; | |
} | |
.item { | |
display: inline-block; | |
vertical-align: top; | |
width: 200px; | |
zoom: 1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment