Skip to content

Instantly share code, notes, and snippets.

@pyronaur
Last active Jan 5, 2017
Embed
What would you like to do?
Stylus Bug in phpStorm EAP 2017.1
// 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