change upload button style

This commit is contained in:
hippoz 2020-10-05 00:51:30 +03:00
parent fffeb2fbc4
commit 0757d775e5
2 changed files with 10 additions and 3 deletions

View file

@ -4,6 +4,7 @@
<form action='https://files.hippoz.xyz/api/upload' method="POST" enctype="multipart/form-data">
<input class="input" placeholder="password" type="password" name="password"> </br>
<input class="input" placeholder="file name" type="text" name="filename"> </br>
<input class="button-default" type="file" name="file"/> </br>
<label class="button-default" for="upload-file">browse</label>
<input type="file" name="file" id="upload-file"/> </br>
<input class="button-default" type='submit' value='upload'/>
</form>

View file

@ -70,5 +70,11 @@ body {
outline: none;
border-radius: 2px;
padding: 3px;
margin: 3px;
}
margin: 8px;
}
#upload-file {
opacity: 0;
position: absolute;
z-index: -1;
}