I am struggling with changing the background color of my input[type="file"]. Despite researching similar issues, none of the solutions I found helped resolve my problem. I am hopeful that someone here can provide some assistance.
Below is the snippet from my .cshtml file:
<div class="form-group">
<label asp-for="Image" class="control-label"></label>
<div class="custom-file">
<input asp-for="Image" type="file" class="custom-file-input" multiple name="img" >
<label asp-for="Image" class="custom-file-label">Choose file</label>
<span asp-validation-for="Image" class="text-danger"></span>
</div>
</div>
And here is the relevant part of my site.css file:
.custom-file-input {
background-color: #f1efdf;
border-color: #c7c19f;
}