我有這張表格中的行突出顯示 - 突出顯示不同顏色的行(前3個在黑暗中,後來在藍色中)。我想知道如果我還可以將表格單元格突出顯示更改爲前三行中的黃色,並保持原樣? 這裏是風格:改變第3行的表格單元格高亮
<style>
body {
background-color: #0D0D0D;
}
tr:hover{
background: #0000F7;
color: rgb(102,102,102);
}
tr:hover td{
background: transparent !important;
}
tr td:hover {
background-color: #609 !important;
}
tr:nth-child(1):hover {
background-color: #292C31;
}
tr:nth-child(2):hover {
background-color: #292C31;
}
tr:nth-child(3):hover {
background-color: #292C31;
}
a {
color:#BFBFBF !important;
}
a {
text-decoration:none !important;
}
</style>
和文件本身: https://jsfiddle.net/33bxg04e/
您是否認爲您還可以幫助我將紅邊添加到上3行中的亮表格單元中? – daverichards