Skip to content

Instantly share code, notes, and snippets.

@amsul
Created October 21, 2014 16:04
Show Gist options
  • Save amsul/3e081e985922f779546b to your computer and use it in GitHub Desktop.
Save amsul/3e081e985922f779546b to your computer and use it in GitHub Desktop.
A snippet to convert the "classic" picker to be an always-open, inline picker
.picker__holder,
.picker--opened .picker__holder {
max-height: 25em;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
filter: alpha(opacity=100);
-moz-opacity: 1;
opacity: 1;
border-top-width: 1px;
border-bottom-width: 1px;
-webkit-transform: translateY(0) perspective(600px) rotateX(0);
transform: translateY(0) perspective(600px) rotateX(0);
-webkit-transition: -webkit-transform 0.15s ease-out, opacity 0.15s ease-out, max-height 0s, border-width 0s;
transition: transform 0.15s ease-out, opacity 0.15s ease-out, max-height 0s, border-width 0s;
box-shadow: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment