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。

      

  • 相关阅读:
    c# netcore 发送http请求并接收返回数据
    CentOS7 nginx安装与卸载
    c# 取出特定标签的内容 去除html标签
    dotnet运行项目
    hangfire自定义访问api接口
    10万个数中取最大的10个数
    指定的服务已标记为删除
    gitlab-配置邮件
    gitlab-centos的安装
    ansible-任务控制tags
  • 原文地址:https://www.cnblogs.com/akunz/p/13476951.html
Copyright © 2011-2022 走看看