Monday, March 21, 2016

How to add alternate color to a table

1
2
3
4
5
6
7
table tr:nth-child(even) td{
    background-color:#FFCCBC !important;
}

table tr:nth-child(odd) td{
    background-color:#FFFFFF !important;
}

No comments:

Post a Comment