Browse Source

修正 table 样式在 ie8 无法正常显示

因 ie8 不支持 `nth-child(even)` 造成那一段样式都在 ie8 无法正常显示

现将其单独写不行,互相不影响。这样,在 ie8 下可以正常显示其他样式。
pull/701/head
zhengmz 5 years ago committed by GitHub
parent
commit
0f6ee885f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      src/css/layui.css

3
src/css/layui.css

@ -813,11 +813,12 @@ hr, .layui-timeline-item:before{background-color: #e6e6e6;}
.layui-table-total tr, .layui-table-total tr,
.layui-table-patch, .layui-table-patch,
.layui-table-mend, .layui-table-mend,
.layui-table[lay-even] tr:nth-child(even),
.layui-table tbody tr:hover, .layui-table tbody tr:hover,
.layui-table-hover, .layui-table-hover,
.layui-table-click{background-color: #f2f2f2;} .layui-table-click{background-color: #f2f2f2;}
.layui-table[lay-even] tr:nth-child(even){background-color: #f2f2f2;}
.layui-table th, .layui-table th,
.layui-table td, .layui-table td,
.layui-table[lay-skin="line"], .layui-table[lay-skin="line"],

Loading…
Cancel
Save