Created
October 21, 2014 16:04
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.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