flex hack 记录
2024-08-29 08:05:48
IE从IE10开始。
//共通
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
flex-wrap: wrap;
flex: 1 或 1, 1, auto;//三个参数可以不写全,但是建议写全
//IOS-Safari
display: -webkit-flex;
-webkit-flex-direction: column;
-webkit-align-items: flex-start;
-webkit-justify-content: center;
-webkit-flex-wrap: wrap;
-webkit-flex: 1, 1, auto;//三个参数必须写全
//IE10
display: -ms-flexbox;
-ms-flex-direction: column;
-ms-flex-align: start;
-ms-flex-pack: center;
-ms-flex-wrap: wrap;
-ms-flex: 1, 1, auto;//三个参数必须写全
align-self IE11开始才支持
最新文章
- SVN分支和映射总结和数据库初步使用
- Sample Apps by Android Team -- Amazed
- 《ASP.NET MVC4 WEB编程》学习笔记------UrlHelper
- Oracle结果集 (MSSQL存储过程写报表)
- 【网络收集】order by 自定义排序
- 2014/09/30 Learning Note
- Delphi 常用API 函数(好多都没见过)
- 读书时间《JavaScript高级程序设计》六:事件
- 【中国剩余定理】 poj 1006
- [设计模式] Iterator - 迭代器模式:由一份奥利奥早餐联想到的设计模式
- mac 下安装securecrt
- [Day01] Python基础
- 50. leetcode 520. Detect Capital
- javax.mail
- HDU 6311 Cover (无向图最小路径覆盖)
- winfrom中pictureBox控件的部分使用方法
- 100-days: twenty-six
- Android应用开发资源
- LeetCode(109):有序链表转换二叉搜索树
- react recompose
热门文章
- 【hibernate/JPA】对实体类的的多个字段建立唯一索引,达到复合主键的效果【spring boot】注解创建唯一索引和普通索引
- 【spring boot】spring boot 2.0 项目中使用mysql驱动启动创建的mysql数据表,引擎是MyISAM,如何修改启动时创建数据表引擎为【spring boot 2.0】
- ubuntu 安装 regex模块时 fatal error: Python.h: No such file or directory
- Chrome的Waterfall
- 如何对POST请求但是URL中也有参数/GET请求但是请求体中也有参数的情况进行安全扫描
- ios开发 Socket通信
- c++之map函数/迭代器
- 【Hive】Hive 基础
- 2017.8.23 postgresql的外键
- [Algorithm] Maximum Contiguous Subarray algorithm implementation using TypeScript / JavaScript