Created
December 4, 2012 08:42
-
-
Save hmps/4201897 to your computer and use it in GitHub Desktop.
Alternate row coloring in a responsive table
This file contains hidden or 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
.container .row:nth-child(odd) > div:nth-child(odd), .container .row:nth-child(even) > div:nth-child(even) { | |
background-color: rgba(0, 0, 0, 0.05); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Used in a responsive calendar where the calendar grid collapses into a structure where the days are stacked on top of each other.