I have an input with a border that changes colour on focus. This works well on android and web browsers, issues appear on ios. The border disappears altogether when tapping inside the input and writing. Any ideas?
.my-input {
background: #fff;
border: 2px solid red;
border-radius: 20px;
font-size: 14px;
}
.my-input:focus {
border: 2px solid purple;
outline: none;
}
.my-input:disabled {
box-shadow: 0 0 10px 0 blue;
}
<input class="my-input" type="text">