8
Bootstrap 4 custom file input size
Bootstrap file upload button css
<div class="custom-file form-control-sm mt-3 mb-3">
<input type="file" id="file" name="image" class="custom-file-input" />
<label class="custom-file-label">Select Image</label>
<script>
$('#file').on('change',function(){
var fileName = $(this).val();
$(this).next('.custom-file-label').html(fileName);
});
</script>
</div>
<! –– form-control-sm or form-control-lg... ––>
Interserver | Standard & VPS Cloud Hosting | $2.50 /Month
Flexible VPS hosting platform to deploy your online projects.
Economical and balanced between processor cores, memory and storage
rated 8 times
(8)
(0)
comments: 0 / hits: 3433
/ 3 years ago, tue, jun 23, 20, 05:42:06
More From
» HTML, XML
Comments
There are no comments for this Snippet yet