Skip to content

Instantly share code, notes, and snippets.

@jpcontrerasv
Created February 27, 2020 13:52
Show Gist options
  • Save jpcontrerasv/e298c48e66d4e9bd41a13cf45df9f5c9 to your computer and use it in GitHub Desktop.
Save jpcontrerasv/e298c48e66d4e9bd41a13cf45df9f5c9 to your computer and use it in GitHub Desktop.
//Shadows
$shadowsArray:
'01' $shadow-01,
'02' $shadow-02,
'03' $shadow-03,
'04' $shadow-04,
'05' $shadow-05,
'06' $shadow-06;
@each $shadowTuple in $shadowsArray {
.shadow-#{nth($shadowTuple, 1)} {
box-shadow: nth($shadowTuple, 2);
}
}
//Radius
$radiusArray:
'00' $radius-00,
'04' $radius-04,
'08' $radius-08;
@each $radiusTuple in $radiusArray {
.radius-#{nth($radiusTuple, 1)} {
border-radius: nth($radiusTuple, 2);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment