Is it possible to set the src attribute value in CSS? At present, what I am doing is:
src
You can define 2 images in your HTML code and use display: none; to decide which one will be visible.
display: none;