
table, td {
    border : 1px solid black;
    border-collapse: collapse;
    width: 500px; /*esta propiedad solo se aplica a la tabla*/
    height: 50px; /*esta propiedad solo se aplica a los objetos td */
}
tr:nth-child(even)
td:nth-child(even),
tr:nth-child(odd)
td:nth-child(odd) {
    background-color: #d40baf;
}
tr:nth-child(odd)
td:nth-child(even),
tr:nth-child(even)
td:nth-child(odd){
    background-color: #f28ff1;
}