zoukankan      html  css  js  c++  java
  • flex in css

    // display-flex:
    container:
    
    flex-flow:flex-direction || flex-wrap'
    justify-content // main axis place method - 5 values : flex-start|flex-end|center|space-between|space-around
    align-items // cross axis place method(all ele as one row) - 6 values : stretch(default) | flex-start | flex-end | center | space-between | space-around
    align-content //corss axis line place methos(per axis line as one row) 6 valus: stretch | flex-start | flex-end | center | space-between | space-around
    
    child:
    order: <integer>
    flex-grow:<number> // default value:0 it's mains that even container remains spare space ,the child don't stretch.
    flex-shrink:<number> // defalut value :1 auto condense
    flex-basis : auto ?
    flex: flex-grow || flex-shrink || flex-basis
    align-items : // default is auto,it mains inherit parent flex property - auto | flex-start | flex-end | stretch | center | baseline
    

      

  • 相关阅读:
    volatile用法
    static用法
    sizeof用法
    C语言void关键字的深刻含义
    extern用法
    const用法
    attribute用法
    Task的运行过程分析
    Android BroadcastReceiver实例Demo(有序广播的发送)
    旅行-许巍
  • 原文地址:https://www.cnblogs.com/Tachi/p/6888339.html
Copyright © 2011-2022 走看看