Skip to content

Instantly share code, notes, and snippets.

@yomotsu
Created December 21, 2011 07:25
Show Gist options
  • Save yomotsu/1505068 to your computer and use it in GitHub Desktop.
Save yomotsu/1505068 to your computer and use it in GitHub Desktop.
text-align
// text-align
.ex-alignLeft {text-align:left; }
.ex-alignRight {text-align:right; }
.ex-alignCenter {text-align:center; }
.ex-alignTop {vertical-align:top; }
.ex-alignMiddle {vertical-align:middle; }
.ex-alignBottom {vertical-align:bottom; }
.ex-alignJustify {
text-align: justify;
text-justify: inter-ideograph !important; }
.ex-alignJustifyOneline {
text-align: justify;
text-justify: inter-ideograph !important;
line-height: 0; }
.ex-alignJustifyOneline:after {
content: '';
height: 0;
display: inline-block;
width: 99%; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment