Skip to content

Instantly share code, notes, and snippets.

@lichenbuliren
Created October 27, 2016 06:11
Show Gist options
  • Save lichenbuliren/2fd50c5d6c64a5e3a82160aabb024738 to your computer and use it in GitHub Desktop.
Save lichenbuliren/2fd50c5d6c64a5e3a82160aabb024738 to your computer and use it in GitHub Desktop.
.test1 {
text-align:justify;
text-justify:distribute-all-lines;/*ie6-8*/
text-align-last:justify;/* ie9*/
-moz-text-align-last:justify;/*ff*/
-webkit-text-align-last:justify;/*chrome 20+*/
}
@media screen and (-webkit-min-device-pixel-ratio:0){/* chrome*/
.test1:after{
content:".";
display: inline-block;
width:100%;
overflow:hidden;
height:0;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment