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高级 ...
随机推荐
- 【转】Hibernate 常见异常
转载地址:http://smartan.iteye.com/blog/1542137 Hibernate 常见异常net.sf.hibernate.MappingException 当出 ...
- Network of Schools --POJ1236 Tarjan
Network of Schools Time Limit: 1000MS Memory Limit: 10000K Description A number of schools are conne ...
- 6.如何使用官方提供的nuget包实现cookie登陆
"Microsoft.AspNetCore.Authentication.Cookies": "1.0.0", 这里需要用到的是这个nuget包 public ...
- Cheatsheet: 2016 09.01 ~ 09.30
Web Is JavaScript Single-Threaded? Quill 1.0 – Better Rich Text Editor for Web Apps Next Generation ...
- Signlar
后台内部发送到指定客户端 Microsoft.AspNet.SignalR.GlobalHost.ConnectionManager.GetHubContext<tvHub>().Clie ...
- lseek函数
所有打开的文件都有一个当前文件偏移量(current file offset),以下简称为 cfo.cfo 通常是一个非负整数,用于表明文件开始处到文件当前位置的字节数.读写操作通常开始于 cfo,并 ...
- javascriptの循序渐进(一)
javascriptの循序渐进系列为<javascript高级程序设计>的读书笔记,记录了看书过程中觉得重点的地方和一些总结,为学习javascript打好基础. ------------ ...
- JAVA 1.2(原生数据类型 Primitive Data Type)
1. Java的数据类型分为2类 >> 原生数据类型(primitive data type) >> 引用数据类型(reference data type) 3. 常量和变量 ...
- Java知识积累3-XML的DOM解析修改和删除方法
import java.io.File; import java.io.IOException; import javax.xml.parsers.DocumentBuilder;import jav ...
- The integer promotion.
Usual Arithmetic Conversion: The integer promotions are performed on both operands. Then the followi ...