How to set alternative row & Column color in html table using css
Write in table tr css
tr:nth-child(even) {background: #CCC}
tr:nth-child(odd) {background: #FFF}
Change First Column Color
col:first-child {background: #FF0}
col:nth-child(2n+3) {background: #CCC}
tr:nth-child(even) {background: #CCC}
tr:nth-child(odd) {background: #FFF}
Change First Column Color
col:first-child {background: #FF0}
col:nth-child(2n+3) {background: #CCC}
Nice...
ReplyDelete