Skip to content

Instantly share code, notes, and snippets.

@mkdizajn
Last active August 28, 2018 16:26
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mkdizajn/52c0b9654c1a6c5c340c to your computer and use it in GitHub Desktop.
Save mkdizajn/52c0b9654c1a6c5c340c to your computer and use it in GitHub Desktop.
zebra stripes on select2 select component
/*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;
}
@mkdizajn
Copy link
Author

mkdizajn commented Mar 3, 2015

use this, or alter custom style to color each even select2 row to some different color..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment