table {
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;

th {
  border: 1px solid #ddd;
  padding: 8px;

tr:nth-child(even) {
  background-color: #333;
  color: #ddd;
tr:nth-child(odd) {
  background-color: #222;
  color: #ddd;

tr:hover {
  background-color: #444;

th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #1e1e1e;
  color: white;
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter