gray background for table header/footer

This commit is contained in:
Yihui Xie 2017-08-09 11:40:47 -05:00
parent 0a869e2e76
commit 6272e671f9
1 changed files with 1 additions and 1 deletions

View File

@ -47,4 +47,4 @@ table {
}
table thead th { border-bottom: 1px solid #ddd; }
th, td { padding: 5px; }
tr:nth-child(even) { background: #eee }
thead, tfoot, tr:nth-child(even) { background: #eee }