Faced a problem, there is a button with a picture of svg, when you hover over the button you need to change the style of the button and the color of this image. If the first does not cause difficulties, then with the second problem. I know that you can change the color of the svg image through fill , but something does not work, maybe I do not fully understand how to use it. Even as an option I see, just replace the image with the same one, just of a different color, but I don’t fully understand how.
.imga{ color: rgb(35, 112, 142); } .imga:hover{ border-radius: 10px; color: red; font-size: 14px; } <button class="imga"> <img src="https://www.shareicon.net/data/128x128/2016/07/10/119178_chat_512x512.png" alt="Чат" style="width: 15px;height: 15px;vertical-align: middle"> Кнопка с рисунком </button>
<input type="image" src="путь до картинки">? And then change by:hover. - And