Skip to content

Commit 8795ff1

Browse files
committed
更新border样式设置的方法
1 parent 60847fe commit 8795ff1

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

src/table.css

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,22 @@
3131
}
3232

3333
.ui-table-column .ui-table-item:first-child{
34-
border-left: 1px solid #ccc;
34+
border-left-width: 1px;
3535
}
3636
.ui-table-column .ui-table-side .ui-table-item:last-child{
37-
border-right: 0 none;
37+
border-right-width: 0;
3838
}
3939
.ui-table-head .ui-table-item{
40-
border-top: 1px solid #ccc;
40+
border-top-width: 1px;
4141
}
4242

4343
.ui-table-item{
44-
border-right: 1px solid #ccc;
45-
border-bottom: 1px solid #ccc;
44+
border-color: #ccc;
45+
border-style: solid;
46+
border-right-width: 1px;
47+
border-bottom-width: 1px;
48+
border-top-width: 0;
49+
border-left-width: 0;
4650
-webkit-box-sizing: border-box;
4751
-moz-box-sizing: border-box;
4852
box-sizing: border-box;

0 commit comments

Comments
 (0)