Add support for input file

This commit is contained in:
CJ Patoilo 2020-05-20 16:16:26 -03:00
parent c088ed49e2
commit 753bd68f2f
2 changed files with 13 additions and 1 deletions

View File

@ -65,3 +65,8 @@ input[type='radio']
display: inline-block
font-weight: normal
margin-left: .5rem
input[type=file].input-file
visibility: hidden
width: 15rem
margin-left: -15rem

View File

@ -364,6 +364,11 @@
id="searchField"
placeholder="Search field"
/>
<label for="fileField">File field</label>
<label for="fileField" class="button input-file">
File field
</label>
<input type="file" id="fileField" class="input-file" />
</div>
<div class="column">
<label for="telField">Tel field</label>
@ -423,8 +428,10 @@
id="datetimeLocalField"
placeholder="Your browser doesn't support this field."
/>
<label for="fileField">Submit button</label>
<input type="submit" />
<input type="reset" class="button-clear" />
<label for="fileField">Reset button</label>
<input type="reset" />
</div>
</div>
</fieldset>