I have an image element that I want to change on click.
<img id="btnLeft">
This works:
#btnLeft:hover {
width:70px;
height:74px;
}
But what I need is:
#btnLeft:onclick {
width:70px;
height:74px;
}
But, obviously, it doesn't work. If not using JavaScript, is it even feasible to have onclick behavior in CSS?