Last active
July 8, 2016 08:20
-
-
Save EvilWolf/32faaa5c22eff10b39816b901dc984f4 to your computer and use it in GitHub Desktop.
Убирает увеличение шрифта на мобильных устройствах в случае если браузеру кажется что он слишком маленький.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. | |
<meta name = "viewport" content="width=device-width> | |
Выставляем вьюпорт именно как width=device-width | |
--или-- | |
2. В css пишем стиль для блока где шрифт становится болье: | |
p { | |
max-height: 1000em; | |
} | |
1000em можно заменить на любое другое значение. | |
Подробнее про Font Boosting | |
https://habrahabr.ru/post/214559/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment