Zebra Striped Table
For zebra-striped tables, use the nth-child() selector and add a background-color to all even (or odd) table rows:
NAME | COANTINENT | SIZE |
---|---|---|
Afghanistan | ASIA | 652,860 km² |
Albania | europe | 28,748 km² |
Algeria | Africa | 2.382 million km² |
Andorra | Europe | 468 km² |
0 Comments
Please share your ratings to this page