.e-table { width: 100%; padding: 0 30px; tr:first-child th{ background-color: #c1f4cd; } tr { td { border: 1px solid #e6e9f0; border-right: 0px; border-bottom: 0px; padding: 10px 20px; } td:last-child { border-right: 1px solid #e6e9f0; } } tr:last-child { td { border-bottom: 1px solid #e6e9f0; } } td:nth-child(2n-1) { text-align: right; } td:nth-child(2n) { text-align: left; } }