Skip to content

Instantly share code, notes, and snippets.

@vio
Created February 25, 2015 11:33
Show Gist options
  • Save vio/fa96e727b078f0064a12 to your computer and use it in GitHub Desktop.
Save vio/fa96e727b078f0064a12 to your computer and use it in GitHub Desktop.

Current

.element
  font-size: 1em

  +tablet()
    font-size: 1.2em

    +retina()
      font-size: 1.21em

BUG: stylus sourcemaps is pointing to the block mixin creation instead of the place where it is called BUG: stylus is not merging nested @media statements when they are in a block mixin

Possible

.element
  font-size: 1em

  @media $tablet
    font-size: 1.2em

    @media $retina
      font-size: 1.21em
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment