Created
April 30, 2015 00:11
-
-
Save DanCoughlin/e2e9b43e5834a986c4b2 to your computer and use it in GitHub Desktop.
Fixing style over ride for striped tables
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
.table-striped { | |
tbody { | |
tr:nth-child(odd) { | |
td { | |
background-color: rgba(255,255,255,0.1); | |
color: gray; | |
a { | |
color: white; | |
} | |
} | |
} | |
tr:nth-child(even) { | |
td { | |
background-color: rgba(255,255,255,0.8); | |
color: white; | |
a { | |
color: white; | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment