1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-25 21:09:06 +02:00

add better handling to the tables so that the thead and tbody first row can have rounded corners where applicable

This commit is contained in:
Mark Otto
2011-10-08 00:19:01 -07:00
parent aa3a8af2d0
commit 0692530efc
3 changed files with 7 additions and 5 deletions

View File

@@ -55,9 +55,11 @@ table {
tr:first-child td {
border-top: 0;
}
thead tr:first-child th:first-child,
tbody tr:first-child td:first-child {
.border-radius(4px 0 0 0);
}
thead tr:first-child th:last-child,
tbody tr:first-child td:last-child {
.border-radius(0 4px 0 0);
}