Question regarding media-breakpoint-between
Created by: ksrb
I was trying out @media-breakpoint-between
but it doesn't behave the way I expected.
Given:
@include media-breakpoint-between(sm, md) {
div {
background: tomato;
}
}
Actual:
@media (min-width: 576px) and (max-width: 991px) {
div {
background: tomato;
}
}
Expected:
@media (min-width: 576px) and (max-width: 768px) {
div {
background: tomato;
}
}
Example with extracted code in sassmeister.
Respective files: