Skip to content

Instantly share code, notes, and snippets.

@pabliqe
Last active July 26, 2016 09:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pabliqe/4ca2b47ff3243eb9bbf1 to your computer and use it in GitHub Desktop.
Save pabliqe/4ca2b47ff3243eb9bbf1 to your computer and use it in GitHub Desktop.
/**
* This styles are the minimal essential properties
* to get chosen working without extra styling
* that you are going to override later
*/
.chosen-container {
position: relative;
display: -moz-inline-stack;
display: inline-block;
*vertical-align: auto;
zoom: 1;
*display: inline;
vertical-align: middle;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none;
}
.chosen-container .chosen-single {
overflow: hidden;
display: block;
}
.chosen-container .chosen-drop {
position: absolute;
top: 100%;
left: -9999px;
width: 100%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
-o-box-sizing: border-box;
box-sizing: border-box;
}
.chosen-container.chosen-with-drop .chosen-drop {
left: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment