zoukankan      html  css  js  c++  java
  • 记录Flex布局的属性

    容器属性

    flex-dirextion(主轴的方向)
    >>row(水平) | row-reverse(水平取反) | column(垂直) | column-reverse(垂直取反)
    flex-warp(是否换行)
    >>nowrap(默认-不换行) | wrap(换行) | wrap-reverse(换行取反)
    flex-flow(主轴的方向 + 是否换行)<flex-direction> <flex-wrap>
    justify-content(主轴上的水平对齐方式)
    >>flex-start(左边对齐) | flex-end(右边对齐) | centent (居中) | space-between(两端对齐)| space-around(间隔相等)
    align-items(主轴上的垂直对齐方式):
    >>flex-start(上边对齐) | flex-end(下边对齐) | centent (居中) | baseline(第一行文字对齐)| stretch(auto占满高度)
    align-centent(多轴对齐方式):
    >>flex-start(上边对齐) | flex-end(下边对齐) | centent (居中) | space-between(两端对齐)| space-around(间隔相等)

    项目属性

    order(排列顺序)默认0(数值越小越靠前)| <length>
    flex-grow(放大比例)默认<0> | <length>
    flex-shrink(缩小比例):默认<1> | <length>
    flex-basis(固定空间)auto | <length>
    align-self(对齐方式)
    >>auto | flex-start(上边对齐) | flex-end(下边对齐) | centent (居中) | baseline(第一行文字对齐)| stretch(auto占满高度)
  • 相关阅读:
    SQLite的SQL语法
    C/C++中各种类型int、long、double、char表示范围(最大最小值)
    君子性非异也,善假于物也
    简单工厂模式
    Linux下通配符总结
    Readprocessmemory使用方法
    C++ 清空消息队列
    一周自学动态站点设计
    iOS 8.0正式公布啦
    What is the difference between JRE,JVM and JDK?
  • 原文地址:https://www.cnblogs.com/chenbingquan/p/10794567.html
Copyright © 2011-2022 走看看