Skip to content

Instantly share code, notes, and snippets.

@brunogarcia
Created November 11, 2014 13:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brunogarcia/667c5ca6a55dc5256bd8 to your computer and use it in GitHub Desktop.
Save brunogarcia/667c5ca6a55dc5256bd8 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.4.7)
// Compass (v1.0.1)
// ----
$align-types: ("left", "right", "center", "justify");
@for $i from 1 through length($align-types) {
$type: nth($align-types, $i);
.align-#{$type}{text-align: #{$type} !important;}
}
.align-left {
text-align: left !important;
}
.align-right {
text-align: right !important;
}
.align-center {
text-align: center !important;
}
.align-justify {
text-align: justify !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment