我有HTML表格,希望能够点击每个单元格并将其类更改为
当我尝试这个类时,结果如下所示。
看起来边框没有合并,并且一些单元格被扭曲了。
outpatient
。td, th {
border: 5px ;
cursor: pointer;
padding: 2.5px;*/
position: relative;
}
.outpatient {
background-color: rgb(0,255,0);
border: 5px solid aqua;
}
当我尝试这个类时,结果如下所示。
看起来边框没有合并,并且一些单元格被扭曲了。
https://gyazo.com/a6e5ef991b345934c070ed77d8949305
我猜测它必须内部边框到其单元格。
我该如何修复它?
谢谢