Layout: flex elastically layout _ compatibility wording

  / * Flex flexible pouch layout pattern files written compatibility 
 * type commonly 
 * display__flex 
 * flex_direction__column 
 * flex_wrap__wrap 
 * justify_content__center 
 * justify_content__space_between 
 * justify_content__space_around 
 * align_items__center 
 * flex_grow__1 
 * flex_shrink__0 
* / 

/ * 
    is provided on the elastic properties of the container 
* / 
.display__flex { 
   the display: -webket-flex;
    the display : -webkit-Box ; 
    the display : -ms-of flexbox ; 
    the display : Flex ; 
} / * Flex-determined direction to the main direction attribute (i.e., arrangement direction of the project). * / 
.Flex_direction__row_reverse { 
    -webkit-Box-Orient : Horizontal ; 
    -webkit-Box-direction : Reverse ; 
    -ms-Flex-direction : Row-Reverse ; 
    Flex-direction : Row-Reverse ; 
} 
.flex_direction__column { 
    -webkit-Box -orient :

Vertical ; 
    -webkit-Box-direction : Normal ; 
    -ms-Flex-direction : column ; 
    Flex-direction : column ; 
} 
.flex_direction__column_reverse { 
    -webkit-Box-Orient : Vertical ; 
    -webkit-Box-direction : Reverse ; 
    -ms direction--FLEX : column-Reverse ; 
    Flex-direction : column-Reverse ; 
} / * By default, items are ranked on a line (also known as "axis"). flex-wrap property definition, if the row axis less than one, how wrap. * / 
.Flex_wrap__nowrap

{ 
    -Ms-Flex-wrap : nowrap ; 
    Flex-wrap : nowrap ; 
} 
.flex_wrap__wrap { 
    -ms-Flex-wrap : wrap ; 
    Flex-wrap : wrap ; 
} 
.flex_wrap__wrap_reverse { 
    -ms-Flex-wrap : wrap-Reverse ; 
    wrap-Flex : wrap-Reverse ; 
} / * the justify-Content attribute defines the alignment of the items on the spindle. * / 
.Justify_content__flex_start { 
    -webkit-Box-Pack : Start ;


    -ms-flex-pack: start;
    justify-content: flex-start;
}
.justify_content__flex_end {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}
.justify_content__center {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.justify_content__space_between {
    Box-Pack--webkit : The justify ; 
    -ms-Flex-Pack : The justify ; 
    The justify-Content : Space-BETWEEN ; 
} 
.justify_content__space_around { 
    -ms-Flex-Pack : the distribute ; 
    The justify-Content : Space-around ; 
} / * align-items item attribute defines how to align the cross shaft. * / 
.Align_items__flex_start { 
    -webkit-Box-align = left : Start ; 
    -ms-Flex-align = left : Start ; 
    align = left-items :

 flex-start;
}
.align_items__flex_end {
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}
.align_items__center {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.align_items__baseline {
    -webkit-box-align: baseline;
    -ms-flex-align:Baseline ; 
    align = left-items : Baseline ; 
} / * align = left-Content attribute defines a plurality of axes alignment. If the project is only one axis, the property does not work. * / 
.Align_content__flex_start { 
    -ms-Flex-Line-Pack : Start ; 
    align = left-Content : Flex-Start ; 
} 
.align_content__flex_end { 
    -ms-Flex-Line-Pack : End ; 
    align = left-Content : Flex-End ; 
} 
.align_content__center { 
    -ms-Flex-Line-Pack : Center ; 
    align = left-Content

: Center ; 
} 
.align_content__space_between { 
    -ms-Flex-Line-Pack : The justify ; 
    align = left-Content : Space-BETWEEN ; 
} 
.align_content__space_around { 
    -ms-Flex-Line-Pack : the distribute ; 
    align = left-Content : Space-around ; 
} / * 
    property provided on the elastic item * / / * the order defined in the order attribute item. The smaller the value, the more forward arrangement, the default is 0. The following examples are compatible writing style, the attribute value may be modified as required. * / 
.Order__1 { 
    -webkit-Box-Group-ORDINAL : 2 ;





    Order-Flex--ms : . 1 ; 
    Order : . 1 ; 
} / * enlarged scale flex-grow item attribute definition, the default is 0, i.e., if there is free space, not enlarged. The following examples are compatible writing style, the attribute value may be modified as required. * / 
.Flex_grow__1 { 
    -webkit-Flex-Box : 1 ; 
    -ms-Flex-positive : 1 ; 
    Flex-Grow : 1 ; 
} / * Flex-Shrink attribute defines the reduction ratio of the items, the default is 1, i.e., if the space insufficient, the project will be reduced. The following examples are compatible writing style, the attribute value may be modified as required. * / 
.Flex_shrink__0 { 
    -ms-Flex-negative : 0 ; 
    Flex-Shrink : 0 ;




}

/ * 
    Flex-Basis attribute defines the spindle space before allocating extra space, occupied by the project (main size). Browser Based on this property, calculate the spindle if there is extra space. The default is auto, that the original size of the project. 
    The following examples are compatible writing style, the attribute value may be modified as required. 
* / 
.Flex_basis__100px { 
    -ms-Flex-Preferred-size : 100px ; 
    Flex-Basis : 100px ; 
} / * align = left-Self attribute allows a single item with other items has a different alignment, may cover the align-items property. The default value is auto, indicating inheritance of the parent element align-items attributes, if no parent, is equivalent to the stretch. * / 
.Align_self__flex_start { 
    -ms-Flex-Item-align = left : Start ; 
    align = left Self- : Flex-Start ; 
} 
.align_self__flex_end {


    -ms-flex-item-align: end;
    align-self: flex-end;
}
.align_self__center {
    -ms-flex-item-align: center;
    align-self: center;
}
.align_self__baseline {
    -ms-flex-item-align: baseline;
    align-self: baseline;
}

 

Guess you like

Origin www.cnblogs.com/jiunie/p/11423692.html