Created
August 7, 2013 03:37
-
-
Save anonymous/6170977 to your computer and use it in GitHub Desktop.
A CodePen by Secret Sam.
This file contains 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
<html> | |
<body> | |
<div>Please select the documents to import : </div> | |
<form name="import_form" action='test' method="post" enctype="multipart/form-data"> | |
<label class="cabinet"> | |
<input type="file" class="file" name="zip_file_import" /> | |
</label> | |
<label class="cabinet"> | |
<input type="file" class="file" name="manifest_file_import" /> | |
</label> | |
</form> | |
</body> | |
</html> |
This file contains 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
label.cabinet { | |
width: 79px; | |
height: 22px; | |
background: url(btn-choose-file.png) 0 0 no-repeat; | |
display: block; | |
overflow: hidden; | |
cursor: pointer; | |
} | |
label.cabinet input.file { | |
position: relative; | |
height: 100%; | |
width: auto; | |
opacity: 0; | |
-moz-opacity: 0; | |
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment