Skip to content

Instantly share code, notes, and snippets.

@che-wf
Created August 24, 2016 18:35
Show Gist options
  • Select an option

  • Save che-wf/dba0e015cadfcec81bb74a104a3619fe to your computer and use it in GitHub Desktop.

Select an option

Save che-wf/dba0e015cadfcec81bb74a104a3619fe to your computer and use it in GitHub Desktop.
For those who come from a designer background, these basic mixins will provide you with the various types of justification that you're used to.
@mixin center-justified {
text-align-last: center;
text-align: justify;
}
@mixin left-justified {
text-align-last: left;
text-align: justify;
}
@mixin right-justified {
text-align-last: right;
text-align: justify;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment