<div class="custom-file">
<input type="file" class="custom-file-input" id="customFile">
<label class="custom-file-label" for="customFile">Choose file</label>
</div>
You don't need to remember all CSS classes. Just use the Bootstrap Editor instead.
/* _custom-forms.scss:240 */
.custom-file {
position: relative;
display: inline-block;
width: 100%;
height: $custom-file-height;
margin-bottom: 0;
}
Code copied to the clipboard.
Copying failed
/* _custom-forms.scss:240 */
$custom-file-height