Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
SASS @each for <h3>aders
// Playing around with SASS @each
// To define a related rule set
// For HTML headings using destructuring
$aitches: 1, 2, 3, 4, 5, 6;
@each $h in $aitches {
h#{$h} {
font-size: 3em - ($h / 3);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.