FlexBox标准及兼容写法速查表
FlexBox标准写法:
|
container : display: flex | inline-flex;
|
说明
|
|
flex-direction: row | column | row-reverse | column-reverse
|
元素在容器内的排列方向
|
|
flex-wrap: nowrap | wrap | wrap-reverse
|
元素一行或多行显示
|
|
flex-flow: <flex-direction> <flex-wrap> default: <row nowrap>
|
上面两个属性的简写
|
|
justify-content: flex-start | flex-end | center | space-between | space-around
|
水平方向上, 元素在容器内的分布
|
|
align-items: stretch | flex-start | flex-end | center | baseline
|
垂直方向上, 元素在容器内的分布
|
|
align-content: stretch | flex-start | flex-end | center | space-between | space-around
|
在容器内, 额外的空白部分的分布
|
|
Container items :
|
|
|
order: <number> 0
|
元素在容器内的排列顺序
|
|
align-self: auto | flex-start | flex-end | center | baseline | stretch
|
覆盖align-items的值, 定义自身在垂直方向上的分布
|
|
flex-grow: <number> 0
|
元素在容器内所占空间的伸展
|
|
flex-shrink: <number> 1
|
元素在容器内所占空间的收缩
|
|
flex-basis: <width> auto
|
初始化时, 元素在容器内的尺寸
|
|
flex: <flex-grow> <flex-shrink> <flex-basis> <0 1 auto>
|
上面三个属性的简写
|
|
display:-ms-flexbox | -ms-inline-flexbox;
|
standard (橙色为item属性)
|
|
-ms-flex-direction : row | column | row-reverse | column-reverse
|
flex-direction
|
|
-ms-flex-wrap : none | wrap | wrap-reverse
|
flex-wrap
|
|
不支持
|
flex-flow
|
|
-ms-flex-pack : start | end |center | justify
|
justify-content
|
|
-ms-flex-align : stretch | start | end |center | baseline
|
align-items
|
|
-ms-flex-line-pack : start | end |center | baseline
|
align-content
|
|
-ms-flex-order : <number>
|
order
|
|
-ms-flex-item-align : stretch | start | end |center | baseline
|
align-self
|
|
-ms-flex : <positive-flex> <negative-flex> <preferred-size> || none
|
flex : 0 0 auto
|
|
container : display: -webkit-flexbox | -webkit-inline-flexbox;
|
standard (橙色为item属性)
|
| -webkit-box-direction: normal | reverse
-webkit-box-orient: horizontal | vertical
|
flex-direction
|
|
不支持
|
flex-wrap
|
|
不支持
|
flex-flow
|
|
-webkit-box-pack: flex-start | flex-end | center | space-between | space-around
|
justify-content
|
|
不支持
|
align-content
|
|
-webkit-box-align: stretch | flex-start | flex-end | center | baseline
|
align-items
|
|
-webkit-box-ordinal-group:<number>
|
order
|
|
-webkit-box-flex: <number> 1
|
flex-grow
|
|
-webkit-flex-shrink: <number> 0
|
flex-shrink
|
|
-webkit-flex-basis: <width> auto (无-moz-)
|
flex-basis
|
|
-webkit-box: <flex-grow> <flex-shrink> <flex-basis> <1 0 auto>
|
flex
|
|
不支持
|
align-self
|
FlexBox标准及兼容写法速查表的更多相关文章
- bash基本命令速查表
来源:https://github.com/skywind3000/awesome-cheatsheets/blob/master/languages/bash.sh ################ ...
- Bash中文速查表
最好用的中文速查表(Cheatsheet) 来源:https://github.com/skywind3000/awesome-cheatsheets 感谢网友们的贡献! ############## ...
- Git 命令速查表
Git 命令速查表 1.常用的Git命令 命令 简要说明 git add 添加至暂存区 git add-interactive 交互式添加 git apply 应用补丁 git am 应用邮件格式补丁 ...
- Git 常用命令速查表(图文+表格)
一. Git 常用命令速查 git branch 查看本地所有分支git status 查看当前状态 git commit 提交 git branch -a 查看所有的分支git branch -r ...
- GNU Emacs命令速查表
GNU Emacs命令速查表 第一章 Emacs的基本概念 表1-1:Emacs编辑器的主模式 模式 功能 基本模式(fundamental mode) 默认模式,无特殊行为 文本模式(text m ...
- vim基本命令速查表
来源:https://github.com/skywind3000/awesome-cheatsheets/blob/master/editors/vim.txt ################## ...
- Git命令速查表【转】
本文转载自:http://www.cnblogs.com/kenshinobiy/p/4543976.html 一. Git 常用命令速查 git branch 查看本地所有分支git status ...
- Git 常用命令速查表(图文+表格)【转】
转自:http://www.jb51.net/article/55442.htm 一. Git 常用命令速查 git branch 查看本地所有分支git status 查看当前状态 git comm ...
- 【译】Swift 字符串速查表
[译]Swift 字符串速查表 2015-12-18 10:32 编辑: suiling 分类:Swift 来源:CocoaChina翻译活动 10 5585 Swift字符串 招聘信息: iOS高级 ...
随机推荐
- dataGridViewX和数据库的链接之dataGridViewX1.DataSource = ds.Tables[0];
dataGridViewX1.DataSource = ds.Tables[0]; 1, dataGridViewX和数据库链接,如果我们用 dataGridViewX1.DataSource = d ...
- <<Windows via C/C++>>学习笔记 —— 线程优先级【转】
转自:http://www.cnblogs.com/wz19860913/archive/2008/08/04/1259807.html 每个线程都有一个“优先级”,范围是0-31,0为最低优先级,3 ...
- 财务报表 > 现金流表的直接法,间接法,Cash Flow from Operating Activites
经营活动现金流量 Cash Flow from Operating Activites 是指企业投资活动和筹资活动以外的所有的交易和事项产生的现金流量.它是企业现金的主要来源. 1. 直接法经营活动现 ...
- java源代码跟踪
首先我们要学会的是将JDK源码加载Eclipse中. 1.点“窗口”——>"首选项",选择左边的"Java"——>"已安装的JRE&quo ...
- append追加的使用
#!/usr/bin/env python def fun(arg) : ret = [] for i in range(len(arg)) : if i % 2 ==1 : ret.append(a ...
- memcached源码安装(linux和windows)
如果是在windows环境下编译安装,我这边是基于cygwin或msys2方式 安装cygwin环境,http://www.cnblogs.com/skey_chen/p/5765179.html 安 ...
- Windows 服务快捷启动命令
gpedit.msc-----组策略sndrec32-----录音机nslookup----- ip地址侦测器explorer------ 打开资源管理器logoff-------注销命令tsshut ...
- 远程执行shellcode
#include "Windows.h" #include <WinSock2.h> #include <stdio.h> #pragma comment( ...
- requirejs加载css样式表
1. 在 https://github.com/guybedford/require-css 下载到require-css包 2. 把css.js或者css.min.js复制到项目的js目录下 3. ...
- for循环j = j++ 和 j = ++j
package com.test.forname; public class TestForName { public static void main(String[] args) throws E ...