Skip to content

Instantly share code, notes, and snippets.

@tedw
Forked from matbrady/input.scss
Created August 9, 2022 18:11
Show Gist options
  • Save tedw/062b457504fdf8c182582d66a6124c57 to your computer and use it in GitHub Desktop.
Save tedw/062b457504fdf8c182582d66a6124c57 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
$grid-columns: 1;
$layoutBreakPoints: (
"med-small" : 580px,
);
@each $name, $width in $layoutBreakPoints {
.u-col {
@for $col from 1 through $grid-columns {
&-test {
background: red ;
}
&-#{$col}--#{$name} {
background: blue;
}
&-#{$col + '--' + $name} {
background: yellow;
}
&#{'-' + $col + '--' + $name} {
background: green;
}
}
}
}
.u-col-test {
background: red;
}
.u-col-1--med-small {
background: blue;
}
.u-col-1--med-small {
background: yellow;
}
.u-col-1--med-small {
background: green;
}
{
"sass": {
"compiler": "libsass/3.5.5",
"extensions": {},
"syntax": "SCSS",
"outputStyle": "expanded"
},
"autoprefixer": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment