Alternating row colors
- Best way is to
class
alternate rows. - “adjacent sibling” selectors
not very scalable or efficient:
tr + tr td {}
tr + tr + tr + tr td {}
tr + tr + tr + tr + tr + tr td {}
tr + tr + tr + tr + tr + tr + tr + tr td {}
class
alternate rows.
tr + tr td {}
tr + tr + tr + tr td {}
tr + tr + tr + tr + tr + tr td {}
tr + tr + tr + tr + tr + tr + tr + tr td {}
65