I'm not sure if this is on my end, or a legitimate bug. But when I do something like this:

@include breakpoint(0px 1000px) {
   background-color: red;
}

the CSS that gets generated is:

@media screen and (0px: 1000px) {

Shouldn't it be something like this:

@media screen and (min-width: 0px) and (max-width: 1000px)

Any help would be greatly appreciated. I'm using Rails 4, Ruby 2.0, breakpoint 2.0.7

Thanks!

有帮助吗?

解决方案

I forgot to include @import "breakpoint"; at the top of my file. Even though it was included elsewhere, I had to actually put it in each file that I was using..

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top