Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
SASS function for headings
$start: 2.5rem;
@each $h in h1, h2, h3, h4, h5, h6{
#{$h} {
font-size: $start;
}
$start: $start - 0.125;
}
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.