Skip to content

Instantly share code, notes, and snippets.

@pabliqe
Last active Jul 26, 2016
Embed
What would you like to do?
/**
* 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