-
-
Save ansarizafar/3e96fbff3ba5ae98c7145f63b88c5a14 to your computer and use it in GitHub Desktop.
HTML Tables CSS File
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*, *:before, *:after { | |
-moz-box-sizing: border-box; | |
-webkit-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
body { | |
font-family: 'Lato', sans-serif; | |
color: #333; | |
font-weight: 400; | |
font-size: 16px; | |
} | |
table { | |
max-width: 960px; | |
margin: 80px auto; | |
} | |
caption { | |
font-size: 18px; | |
font-weight: 400; | |
padding: 12px 0; | |
} | |
thead th { | |
background: #35D380; | |
color: #fff; | |
font-weight: initial; | |
} | |
tr { background: #f1f1f1; } | |
tr:nth-child(2n) { background: #e0e0e0; } | |
th, td { | |
text-align: left; | |
padding: 24px; | |
} | |
tfoot tr { background: none; } | |
tfoot td { | |
padding: 12px 2px; | |
font-style: italic; | |
color: #8a97a0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment