Mobile-side common settings

Source: Internet
Author: User

1. Force vertical screen to browse x5-orientation

2. Force full-screen display X5-fullscreen

3. UC Full Screen display

Screen-orientation

4, prohibit phone and email

5.font boosting

7.fixed

Method One: The head is positioned according to the HTML, but there is a rebound

Overflow problem with the body of iOS

The content is usually wrapped in a layer

8. New and Old Flex

Flexible layout: Older version compatibility is better than the new version

NEW: Display:flex;

Spindle: Horizontal/Vertical/reverse order (Note if the height or width is large, it will be reversed from the bottom)
Flex-direction:row/colmun/row-reverse/colmun-reverse

Management of horizontal surplus space: Justify-content:flex-strat/flex-end/center/space-between/space-around
Vertical Surplus space Management: Align-items:flex-strat/flex-end/center/space-between/space-around

Elastic box Model--box

Sub-Category: Flex:1

The specific location settings for the element:
order:1,2,3,4 .... The smaller the number, the more forward, can accept negative numbers, arrange the position


Old version: Display:-webkit-box

Level:
-webkit-box-orient:horizontal/
Vertical:
-webkit-box-orient:verical/

Water Rehabilitation Sequence:-webkit-box-direction:reverse
Vertical reverse order:-webkit-box-direction:normal


Note: The height and width of the old version do not affect the position of the reverse order, starting from the initial


Horizontal Surplus Space management:-webkit-box-pack:start/end/center/justify (equivalent to Space-between)

Vertical Headroom Management:-webkit-box-align:start/end/center/justify (equivalent to Space-between)

Elastic box Model--box

-webkit-box-flex:1

The specific location settings for the element:
-webkit-box-group:1,2,3,4 .... The smaller the number, the more forward, the default minimum value is 1, and the position is arranged

Mobile-side common settings

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.