View input_file.css
input[type=file] { | |
position: relative; | |
-webkit-appearance: textfield; | |
-webkit-box-sizing: border-box; | |
} | |
input[type=file]::-webkit-file-upload-button { | |
border: none; | |
margin: 0; | |
padding: 0; |
View slideDown.js
/* | |
Element to slide gets the following CSS: | |
max-height: 0; | |
opacity: 0; | |
overflow: hidden; | |
transition: max-height 0.4s ease 0s; | |
*/ | |
/** | |
* Like jQuery's slideDown function - uses CSS3 transitions |