mirror of
https://github.com/milligram/milligram.git
synced 2024-11-13 16:54:22 +00:00
Add support for input file
This commit is contained in:
parent
c088ed49e2
commit
753bd68f2f
@ -65,3 +65,8 @@ input[type='radio']
|
|||||||
display: inline-block
|
display: inline-block
|
||||||
font-weight: normal
|
font-weight: normal
|
||||||
margin-left: .5rem
|
margin-left: .5rem
|
||||||
|
|
||||||
|
input[type=file].input-file
|
||||||
|
visibility: hidden
|
||||||
|
width: 15rem
|
||||||
|
margin-left: -15rem
|
||||||
|
@ -364,6 +364,11 @@
|
|||||||
id="searchField"
|
id="searchField"
|
||||||
placeholder="Search field"
|
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>
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<label for="telField">Tel field</label>
|
<label for="telField">Tel field</label>
|
||||||
@ -423,8 +428,10 @@
|
|||||||
id="datetimeLocalField"
|
id="datetimeLocalField"
|
||||||
placeholder="Your browser doesn't support this field."
|
placeholder="Your browser doesn't support this field."
|
||||||
/>
|
/>
|
||||||
|
<label for="fileField">Submit button</label>
|
||||||
<input type="submit" />
|
<input type="submit" />
|
||||||
<input type="reset" class="button-clear" />
|
<label for="fileField">Reset button</label>
|
||||||
|
<input type="reset" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
Loading…
Reference in New Issue
Block a user