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)
| Name | Role | Status |
|---|---|---|
| Alice | Engineer | Active |
| Bob | Designer | Active |
| Carol | Manager | Away |
| Dave | Developer | Active |
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📖Web Design BooksShop →🎨Color Reference GuidesShop →✏️Drawing TabletsShop →🎨Design SoftwareShop →🖥️Monitor CalibratorsShop →💻Laptop StandsShop →🖱️Wireless MouseShop →🔌USB-C HubShop →👓Blue Light GlassesShop →🖥️Desk PadShop →
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.