isama92

First Edition Auction CSS

Feb 2nd, 2017
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.49 KB | None | 0 0
  1. body{
  2. font-family: sans-serif;
  3. }
  4.  
  5. td, th{
  6.   padding: 20px;
  7. }
  8.  
  9. th{
  10.   border-top: 1px solid lightgrey;
  11.   border-bottom: 1px solid grey;
  12.   font-weight: bold;
  13.   font-size: 20px;
  14.   text-transform: uppercase;
  15.   background: white;
  16. }
  17.  
  18. td{
  19.   text-transform: capitalize;
  20. }
  21.  
  22. tr:nth-last-child(odd){
  23.   background: #f2f2f2;
  24. }
  25.  
  26. tr:nth-last-of-type(odd){
  27.   /*background: red;*/
  28. }
  29.  
  30. td:nth-last-child(-n+2){
  31.   text-align: right
  32. }
  33.  
  34. tr:hover:nth-last-child(-n+4){
  35.   background: #78D7A6;
  36. }
Advertisement
Add Comment
Please, Sign In to add comment