Skip to content

Instantly share code, notes, and snippets.

Minoru Hayakawa e-river

Block or report user

Report or block e-river

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@pzi
pzi / input_file.css
Created Feb 20, 2013
Style input type="file" in Webkit (Chrome, Safari)
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;
@ludder
ludder / slideDown.js
Created Dec 6, 2012
Vanilla JavaScript slideUp and slideDown functions
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
You can’t perform that action at this time.