.table-search { border: 1px solid #568b6f; } thead { border-bottom: 1px solid #568b6f; } th { color: #568b6f; background-color: #d0dfd7; padding: 40px 20px 20px 20px; } .table-search tbody tr:nth-child(2n+1) { background-color: #dcdcdc; } .table-search tbody td { padding: 5px 10px 5px 10px; }