M
M
medbrat132020-04-17 03:05:11
css
medbrat13, 2020-04-17 03:05:11

Are there any issues when using height: 100vh or 100% in relation to mobile browsers?

It is necessary to stretch the first block of the page to the entire browser screen in height.

Two solutions came to mind: give the block a rule height: 100vh OR give the html, body, and height: 100%.

Everything works the same on a personal computer, but what about mobile browsers? Are there any pitfalls now?

I know that they used to be , are they still there?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question