These are chat archives for LearnBoost/stylus

11th
Sep 2016
can stylus variable be used in mediaquery?
responsive_block(cell_width, used_width, max_width)
  margin: 0 auto;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  width: cell_width;
  @media only screen and (min-width: calc(used_width + 1 * cell_width))
    width: 1 * cell_width;
  @media only screen and (min-width: calc(used_width + 2 * cell_width))
    width: 2 * cell_width;
xialvjun
@xialvjun
Sep 11 2016 12:52
the above link is wrong... use this one : http://jsbin.com/yarihapira/edit?html,css,output