2014-09-26 74 views
0

您好我正在尝试使用资源查看在Fullcalendar中为特定单元格着色。Fullcalendar着色特定单元格

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

这一个,可以给整排给一个颜色。但我只想要两个第一列for.e.

我可以在Fullcalnedar做到这一点?

我使用FullCalendar v1.6.4,资源查看扩展

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

+0

您可以使用第n个孩子做那种事 – himanshu 2014-09-26 08:12:09

回答

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

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

如果只是为有限的数量