Pedro Canelas
Pedro Canelas

Reputation: 311

Stylus doesn't compile the @media (min-width) properly

I'm having a problem. I don't know why the Stylus isn't compiling the min-width properly when I'm using the media queries. For example:

@media screen and (min-width: 1400px)

is compiling:

@media screen and (undefined: 1400px)

but when I change from min to max, it works:

@media screen and (max-width: 1400px)

is compiling:

@media screen and (max-width: 1400px)

Anyone can help me?

Upvotes: 1

Views: 165

Answers (1)

Panya
Panya

Reputation: 2699

I'm guess, that you have variable with same name (min-width). If you remove or rename it, all would be fine.

Upvotes: 1

Related Questions