html { } table { border-collapse: collapse; border: 1px dashed black; font-family: sans-serif; } td, th { border: 1px dashed black;; padding: 10px 20px; } th { background-color: rgba(0,0,0,0.15); } td { } tr:nth-child(even) td { background-color: rgba(255,255,255,1); } tr:nth-child(odd) td { background-color: rgba(255,255,255,1); } caption { padding: 10px; }