Closed inc2734 closed 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 みたいになってる。こっちのが良いかな…
ブレイクポイントを 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 みたいになってる。こっちのが良いかな…