Last active
January 5, 2017 13:39
-
-
Save pyronaur/95338cabae4883556a928b7d8b9554c8 to your computer and use it in GitHub Desktop.
Stylus Bug in phpStorm EAP 2017.1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This Works | |
.the-thing | |
color: blue | |
@media screen and (min-width: 768px) | |
color: red | |
// This is broken | |
$breakpoint = "screen and (min-width: 768px)" | |
.the-thing | |
color: blue | |
@media $breakpoint | |
color: red | |
// I just realized this while making this example, this works: | |
breakpoint = "screen and (min-width: 768px)" | |
.the-thing | |
color: blue | |
@media breakpoint | |
color: red |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment