The mobile terminal page fills the screen configuration

Problem: After the
layout is completed, it is found that when adapting to a large-screen mobile phone, the height does not adaptively fill the screen.

Hello there!  This is the first time you use the welcome page displayed by **Markdown Editor**.  If you want to learn how to use the Markdown editor, you can read this article carefully to learn about the basic syntax of Markdown.

solve

1. For the outermost parent box, set display: flex;
2. Give the picture here flex:1, which becomes a flexible box
3. At the same time, set the minimum height to 100vh

Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_45108907/article/details/108023643