table { width: 100%; th { text-align: left; } tr:nth-of-type(even) { background-color: #eee; } }