Created
February 15, 2016 20:32
-
-
Save sdempsey/364bcdd513be77c950b2 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
$alignments: left, right, center; | |
.large-hero { | |
color: white; | |
&-content { | |
@each $alignment in $alignments { | |
.#{$alignment} & { | |
text-align: #{$alignment}; | |
} | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.large-hero { | |
color: white; | |
} | |
.left .large-hero-content { | |
text-align: left; | |
} | |
.right .large-hero-content { | |
text-align: right; | |
} | |
.center .large-hero-content { | |
text-align: center; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment