/ categories / Technology / @fedevelopment / post #2980
1540

Avoid 100vh On Mobile Web

If you’re using viewport units in CSS to style an element to take up the full screen height (using height: 100vh), you may want to reconsider. David points out that this technique is “broken in a subtle but fundamental way on mobile”, and recommends an alternative approach using JavaScript. - http://amp.gs/q97t

#mobile #web


15:03 26.10.19
@fedevelopment
11.59K +7

Полезные ссылки иHTML, CSS, JavaScript, TypeScript, Angular, React, Vue, Node.js, Mobile и многое другое. Администратор: @andrey2019 Donate: https://goo.gl/5FJz4U