sass-basis / basis

A lightweight responsive Sass/CSS framework based on flexible box.
https://sass-basis.github.io/
MIT License
144 stars 14 forks source link

hidden and visible classes bug #71

Closed inc2734 closed 8 years ago

inc2734 commented 8 years ago

ブレイクポイントを em ベースにしたことで ._u-hidden-xx、_u-visible-xx が正しく動作しないようになっている。例えば、._u-hidden-md だと (max-width: 63em) and (min-width: 40em) だけど、lg は 64em〜となっており、63em と 64em 間の 16px の間で意図した動作が行われない。

これらのクラスおよび関連するミックスインを利用する場合は px ベースに変換するようにしたほうが良さそう。

ちなみに Foundation6 だと 63.9375em みたいになってる。こっちのが良いかな…