zoukankan      html  css  js  c++  java
  • CSS各浏览器HACK

    /*firefox*/
    @-moz-document url-prefix(){.mainNews div.l ul{padding-bottom:12px}}

    /*ie6*/
    {_padding:2px;}

    /*ie7*/
    {*padding:4px;}

    /*ie10*/
    @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    /* IE10-specific styles go here */
    }
    /*参考连接:http://www.css88.com/archives/5273*/

    .a{ /* 1. */
    /* color:#09F; 以前是IE8/9, 现在10也支持 */
    color:#09F/; /* 以前是IE8 only, 现在IE9/10也支持. 如要排除IE9需要使用下面的rule重设IE9样式 */
    }
    @media all and (min-0) { /* 2. */
    .a{color:red9; }/* IE9 only, 现在IE10也支持 */
    /* Ps:老外的方法都是,根本没考虑Opera */
    }
    @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { /* 3. */
    .a { color: green; } /* IE10+ */
    }

  • 相关阅读:
    linux系统rewrite重定向及搭建discuz
    nginx客户端请求分类
    linux系统nginx动静分离
    RDB与AOF
    AOF持久化
    redis持久化(RDB)
    redis操作
    redis搭建
    Redis简介
    小技巧从此拒绝$?
  • 原文地址:https://www.cnblogs.com/enone/p/3491554.html
Copyright © 2011-2022 走看看