9
10

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

iOSとAndroidのデフォルトのline-height値が異なる件

Last updated at Posted at 2016-01-15

iOS(Safari)でline-heightを特に指定しないとこうなる

IMG_0063.PNG
**line-height: 1.6;**がデフォルト値。

Android(Androidブラウザ)でline-heightを特に指定しないとこうなる

Screenshot_2016-01-14-19-54-46.png
**line-height: 1.2;**がデフォルト値。

並べるとこんなに違う

image
左がiOS、右がAndroid

まとめ

  • line-heightは共通で決めておかないと結構見た目と可読性が変わってしまう。
  • Androidはデフォのままだと詰まって読みにくい。
  • 確認端末がiOSしかない場合は注意が必要。
9
10
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
10

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?