📅  最后修改于: 2022-03-11 15:03:44.857000             🧑  作者: Mango
// 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');