User:MCDeMarco/common.css: Difference between revisions

Drop the pseudo-element approach
mNo edit summary
(Drop the pseudo-element approach)
Line 3:
table.grid {
text-align:center;
border: 3px solid black;
border-collapse:collapse;
}
table.checkerboard tr td:first-child::before,
table.grid tr td:first-child::before {
min-height:48px3em;
}
table.checkerboard tr td,
table.grid tr td {
border: 3px solid black;
min-width:48px3em;
padding:0;
vertical-align: middle;
}
tble.grid td span {
padding:0;
}
 
table.checkerboard tr td:first-child::before,
table.grid tr td:first-child::before {
content: "";
display: inline-block;
vertical-align: top;
min-height:48px;
}
table.checkerboard tr td {
background-color:#a9b6c7;