Is there a way to customize the calendar logo without relying on jquery?
The desired appearance should resemble the image shown below:
https://i.sstatic.net/G06iZ.png
input
{
width: 50%;
padding: 8px;
border-radius: 10px;
margin-bottom: 5%;
border: 1px solid #CCCCCC;
font-size: 13px;
}
.fecha input[type="date"]::-webkit-calendar-picker-indicator
{
color: rgba(0, 0, 0, 0);
opacity: 1;
background-image: url("./../some-folder/some-file.svg");
background-repeat: no-repeat;
background-position: 100% center;
background-size: 20px;
cursor: pointer;
}
<div class="form-row fecha">
<div class="col-12">
<input placeholder="Fecha de Inicio" type="text" onfocus=" (this.type='date')" onblur="(this.type='text')">
</div>
However, the current styling does not match the intended look of the image.
I am using bootstrap4 (without Jquery) and sass in this project.