Skip to content

Instantly share code, notes, and snippets.

@charliewilco
Created January 9, 2015 20:26
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 charliewilco/6f2447bc2cfaac9ed893 to your computer and use it in GitHub Desktop.
Save charliewilco/6f2447bc2cfaac9ed893 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// libsass (v3.1.0-beta)
// ----
$dirs: left, right, center;
@each $dir in $dirs {
.#{$dir} { text-align: #{$dir}; }
}
@for $i from 1 through 5 {
.lt-#{$i} { letter-spacing: #{$i}px; }
}
.left {
text-align: left; }
.right {
text-align: right; }
.center {
text-align: center; }
.lt-1 {
letter-spacing: 1px; }
.lt-2 {
letter-spacing: 2px; }
.lt-3 {
letter-spacing: 3px; }
.lt-4 {
letter-spacing: 4px; }
.lt-5 {
letter-spacing: 5px; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment