2

I've been inspecting one website I liked and I saw that they use html * { max-height:10000000px; } quite often. But what does it do?

EDIT: website url: http://yula-group.ru/

kulan
  • 1,353
  • 3
  • 15
  • 29
  • Perhaps you can post the website url for reference? – James Jul 14 '16 at 08:27
  • @james.brndwgn check the edit please – kulan Jul 14 '16 at 08:28
  • once paragraph of text reaches a certain length, chrome on android decides to resize the text and make it larger so adding `max-height: 999999px;` to the element they want to prevent font boosting on, or its parent. – Mahmoud Zakal Jul 14 '16 at 08:32

1 Answers1

3

Looks like it has to do with font boosting for some browsers on mobile device. Related answers here: Chrome on android resizes font and here how to override font boosting in mobile chrome

Community
  • 1
  • 1
James
  • 1,045
  • 8
  • 17