1. When the mobile terminal processes the list sliding, WeChat has a built-in return page button at the bottom, which is often blocked. If the screen is longer, the bottom will be much shorter. The following method can solve this problem. .container{ position:relative; background:url(../img/chooseBg.jpg) no-repeat center center; background-size:cover; width:100%; height:100%; //.listConHeight{ // height:9rem; // overflow:auto; //} .listConHeight { position: absolute; top: 0; left: 0; width: 100%; height: 100%; padding-top: 1.3rem; box-sizing: border-box; ul { width:6.78rem; height: 100%; margin:0 auto; overflow:auto; -webkit-overflow-scrolling: touch; } } Summarize The above is what I introduced to you about how to prevent the CSS list sliding from being covered by the bottom and adapt to models with longer screens. I hope it will be helpful to you. If you have any questions, please leave me a message and I will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! |
<<: Baidu Input Method opens API, claims it can be ported and used at will
>>: Solution to the problem that Centos8 cannot install docker
For example, there is an input box <el-input r...
The Swap partition of the Linux system, that is, ...
Table of contents 1. What is the life cycle 2. Th...
Template 1: login.vue <template> <p clas...
Writing XHTML demands a clean HTML syntax. Writing...
After installing centos 8, the following error wi...
Table of contents 1. Home Page Production 1. Prod...
CSS style specifications 1. Class Selector 2. Tag...
Problem: The overflow of the auto-increment ID in...
1. E-Commerce Icons 2. Icon Sweets 2 3. Mobile Ph...
What is it? Spring Boot is a sub-project of the S...
Recently, there is a need to automatically search...
Table of contents 1. Draw a circle 2. Circle move...
Achieve resultsImplementation Code html <base ...
This article example shares the specific code of ...