0

i try to use scss variable in mediaQuery and
i want to add 1px in $min
the code is like this

i marked � in my code that point occur error

$mobile: "400px" !default; // sm
$phablet: "550px" !default; //  md
$tablet: "750px" !default; //  wmd
$desktop: "1000px" !default; // lg
$desktophd: "1200px" !default; //  wlg 
$full: "9999px" !default; 
$null: "0px" !default; 


@mixin response($max:9999px,$min:0px) {
    @media only screen and (max-width: $max) and (min-width: $min + 1px) {//�
      @content; 
  }
}

@include response ($full,$mobile) {
    .myPage__myProducts > .col:nth-child(3n + 1){
        margin-left: 0;
    }
}

it trans to css "400px1px" i want 401px
how can i amke it possible?

MINJA KIM
  • 876
  • 1
  • 8
  • 22

0 Answers0