table { width: 100%; border-spacing: 0; border: 2px solid green; } thead tr:first-child { background: green; color: #fff; border: none; } thead tr:last-child th { border-bottom: 3px solid #ddd; } tbody tr:last-child td { border: none; } tbody td { border-bottom: 1px solid #ddd; } td, th { vertical-align: top; padding: 10px 15px; font-size: 12px; } th { text-align: left; }