CSS Table Style Generator

Generate custom CSS table styles with live preview. Control borders, striping, hover effects, and more.

22.7Kuses
9.1/10(116)
NameRoleStatus
AliceEngineerActive
BobDesignerActive
CarolManagerAway
DaveDeveloperActive

Colors

12px
14px
8px

CSS Code

.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #333355;
  font-size: 14px;
}

.table th {
  background-color: #6366f1;
  color: #ffffff;
  padding: 12px;
  text-align: left;
  font-weight: 600;
}

.table td {
  background-color: #1a1a2e;
  color: #e0e0e0;
  padding: 12px;
  border-top: 1px solid #333355;
}

.table tr:nth-child(even) td {
  background-color: #1e1e36;
}

.table tr:hover td {
  background-color: #2a2a4e;
}

Recommended Products

Ad

Affiliate Disclosure: As an Amazon Associate, ToolBird earns from qualifying purchases. Links above are affiliate links — if you buy through them, we may earn a small commission at no extra cost to you.

Disclaimer: This tool is provided as-is for informational and educational purposes only.

ToolBird Assistant

Find the right tool instantly

Hey! I'm ToolBird Assistant. Tell me what you need and I'll find the right tool for you.