嗨,我正在尝试使用资源视图为Fullcalendar中的特定单元格着色。

tr.fc-slot13 {
background-color: #D6D6D6 !important;
}


这个,可以给整行着色。但是我只想要两个第一列。

我可以在Fullcalnedar中做到这一点吗?

我将FullCalendar v1.6.4与Resource View扩展一起使用。

http://screenshot.cz/OD7M0/这就是我想要的样子。

最佳答案

tr.fc-slot13:nth-child(1) {
background-color: #D6D6D6 !important;
}

tr.fc-slot13:nth-child(2) {
background-color: #D6D6D6 !important;
}


如果仅用于有限数

10-04 16:15