zoukankan      html  css  js  c++  java
  • xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

    shit IE

    no table border-collapse: collapse;

    /* IE & shit table &  border-collapse: collapse; */
    
    table {
        border-spacing: 0px;
        border-top: 1px solid #f0f0f0;
        border-right: 0;
    }
    
    table td {
        border-left: 1px solid #f0f0f0;
        border-bottom: 0;
        border-right: 0;
    }
    
    tbody>tr>td:nth-last-of-type(1) {
        border-right: 1px solid #f0f0f0;
    }
    
    tbody>tr:nth-last-of-type(1)>td {
        border-bottom: 1px solid #f0f0f0;
    }
    
    tbody>tr:nth-of-type(2n) {
        background: #f5f5f5;
    }
    
    tbody>tr:nth-of-type(2n + 1) {
        background: #fff;
    }
    
    tbody[id="tbody2"]>tr:nth-of-type(n) {
        background: #fff;
    }
     
    
  • 相关阅读:
    SpringMVC截图版
    MySQL
    Mybatis-Spring
    Spring
    get
    log
    SpringBoot
    Mybatis和spingboot整合
    学习笔记-英语
    PartialView+$.reload()局部刷新
  • 原文地址:https://www.cnblogs.com/xgqfrms/p/9834684.html
Copyright © 2011-2022 走看看