Mobile Side FAQs

Source: Internet
Author: User

Mobile pages use percentages or media queries to set the width of the page in most cases This will achieve the effect of the response

Here are some explanations.

1.-webkit-tap-highlight-color:rgba (0,0,0,0); can also be written-webkit-tap-highlight-color:transparent; When you remove a click highlight display you can also change the parameters inside to achieve the desired click to display the highlight effect

2.-webkit-touch-callout:none; The system menu does not fire when long pressing the page

3.-webkit-user-select:none; Long press cannot select text This is useful generally if the body does not add this property to the mobile phone page when we long press a paragraph of text will appear to select this text pop up "copy, select All" and other options but in WebApp development this is very unfriendly, especially in the development of WebApp In order to achieve the same true effect as the native must be added

4.html,body{width:100%; height:100%; This is the entire document after the initialization of the wide height of the child is set according to this data

5.main and child height are set to auto you can also not set, but if your page is allowed to scroll, it is best to set

6. We use the menu fixed to the bottom of the page you can also position him on the top or anywhere you want to locate

7.menu inside Tab We're using a percent allocation because there's border-right so we can't exactly allocate how much of this should be more accurate method of averaging allocation to be researched (elastic box model)

Mobile Side FAQs

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.