how to change src of image in css code example
Example: change img src css
// You cannot do it with CSS alone
// You can with JS
element.style.src = "someImage.jpg";
// Or with jQuery
$('some-element').attr('src', 'someImage.jpg');
// You cannot do it with CSS alone
// You can with JS
element.style.src = "someImage.jpg";
// Or with jQuery
$('some-element').attr('src', 'someImage.jpg');