Elastic box Model

Source: Internet
Author: User

Flexible box model compatibility is a bit bad:
Display:flex; (spindle and side axle)
Flex-direction: ( setting of the direction)
Column from top down
Column-reverse from bottom to top
Row is arranged from left to right (default value)
Row-reverse from right to left
Justify-content: (Spindle alignment)
Flex-start (default) element in the start position the rich space occupies the other side
Flex-end elements occupy the other side of the rich space at the start position
Center element centered Rich space split right and left sides
Space-between rich space evenly distributed among elements
Space-around rich space evenly distributed on both sides of the element
Align-items: (Side axis Alignment)
Flex-start (default) element in the start position the rich space occupies the other side
Flex-end elements occupy the other side of the rich space at the start position
Center element centered Rich space split right and left sides
Flwx-wrap: (Line wrapping)
Wrap
Wrap-reverse Reverse Line Wrapping
Align-content: (Stack stretch line, for line break)
Flex-start (default) element in the start position the rich space occupies the other side
Flex-end elements occupy the other side of the rich space at the start position
Center element centered Rich space split right and left sides
Space-between rich space evenly distributed among elements
Space-around rich space evenly distributed on both sides of the element
Flex:
None (will not be squeezed)
Auto (default)
Order:
Default 0 (the smaller the number, the higher the number, the greater the back)

Elastic box Model

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.