Last active
August 28, 2018 16:26
-
-
Save mkdizajn/52c0b9654c1a6c5c340c to your computer and use it in GitHub Desktop.
zebra stripes on select2 select component
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
/*zebra for select2*/ | |
ul.select2-results li:nth-child(even){ | |
background-color: #ddd; | |
color: black; | |
} | |
ul.select2-results li:nth-child(even):hover{ | |
background-color: #333; | |
color: white; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
use this, or alter custom style to color each even select2 row to some different color..