I would like to use a map with values which are numbers , and create media queries from it.
But I did not succeed in concatenating the number with 'px' to form the media query.
$grid-breakpoints: (
  xs: 0,
  sm: 576,
  md: 768,
  lg: 992,
  xl: 1200
) !default;
(edited):
@each $name, $minWidth in $grid-breakpoints { 
   @media (min-width: ($minWidth + 'px')) {      <-- doesn't work
       .flex-1-#{$name} {
            flex: 1 0 0%;
        } 
  }
}
I tried to concatenate the number in other ways
#{$minWidth + 'px'}
($minWidth + 'px'))
But it doesn't work. It works if I use values where px is already added
$grid-breakpoints: (
  xs: 0,
  sm: 576px,    <--- px added
But I would like to be able to modify the number, for instance subtracting 1 from it, and I haven't been able do that when it includes px.
