Skip to content

Instantly share code, notes, and snippets.

@selabie68
Created November 5, 2015 00:28
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 selabie68/50dbd70c2fb6923d82bf to your computer and use it in GitHub Desktop.
Save selabie68/50dbd70c2fb6923d82bf to your computer and use it in GitHub Desktop.
Select2 Foundation CSS (A start)
.select2-container {
width: 100% !important;
}
.select2-container .select2-selection--single {
height: 2.3125rem !important;
width: 100% !important;
box-shadow: inset 0 1px 2px rgba(0,0,0,0.1) !important;
}
.select2-selection--single .select2-selection__rendered {
line-height: 2.3125rem !important;
}
.select2-selection--single .select2-selection__arrow {
height: 2.125rem !important;
}
.select2-container--default .select2-selection--single {
border-color: #ccc !important;
border-radius: 0px !important;
}
.select2-container--default .select2-selection--multiple {
width: 100% !important;
border-color: #ccc !important;
border-radius: 0px !important;
box-shadow: inset 0 1px 2px rgba(0,0,0,0.1) !important;
}
.select2-search__field {
box-shadow: none !important;
}
.select2-dropdown{
border-radius: 0px !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment