Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- body{
- font-family: sans-serif;
- }
- td, th{
- padding: 20px;
- }
- th{
- border-top: 1px solid lightgrey;
- border-bottom: 1px solid grey;
- font-weight: bold;
- font-size: 20px;
- text-transform: uppercase;
- background: white;
- }
- td{
- text-transform: capitalize;
- }
- tr:nth-last-child(odd){
- background: #f2f2f2;
- }
- tr:nth-last-of-type(odd){
- /*background: red;*/
- }
- td:nth-last-child(-n+2){
- text-align: right
- }
- tr:hover:nth-last-child(-n+4){
- background: #78D7A6;
- }
Advertisement
Add Comment
Please, Sign In to add comment