zoukankan      html  css  js  c++  java
  • IE10兼容flex布局的属性使用

    IE10以下完全不兼容flex,IE10部分兼容,使用时对应chrome的用法为如下所示:

    chrome                  IE10

    display: flex;               display: -ms-flexbox;

    flex-direction: column;          -ms-flex-direction: column;

    justify-content: center;          -ms-flex-pack: center;

    justify-content:space-between;       -ms-flex-pack: justify;

    justify-content:space-around;       -ms-flex-pack: justify; // 无法实现,用justfiy代替

    justify-content: flex-end;          -ms-flex-pack: end;

    align-items: flex-start;           -ms-flex-align: start;

    align-items: center;            -ms-flex-align: center;

    align-items: flex-end;          -ms-flex-align: end;

    align-items: baseline;            -ms-flex-align: baseline;

    flex: 1;                -ms-flex: 1;
    align-self: center;            -ms-align-self: center;
    flex-wrap: wrap;              -ms-flex-wrap: wrap;
     
    注:任何的版本的 Internet Explorer (包括 IE8)都不支持属性值 inherit。

      

  • 相关阅读:
    DS博客作业02--栈和队列
    DS博客作业01--线性表
    c博客06-结构体&文件
    C博客作业05--指针
    C语言博客作业04--数组
    C语言博客作业03--函数
    JAVA面向对象设计大作业——QQ联系人系统
    DS博客作业05--查找
    DS博客作业04--图
    DS博客作业03--树
  • 原文地址:https://www.cnblogs.com/akunz/p/13476951.html
Copyright © 2011-2022 走看看