What I'm trying to achieve here:
- I want an orange square w/"print" as the untouched state.
- When rolled over I want the girl image to appear.
- After clicked on I want the girl image to remain as the visited state.
What I am getting instead is just a rollover state, no visited state.
http://codepen.io/Chris-Brennan/pen/eNaxQY?editors=110
.dwight:hover {
content: url('http://s18.postimg.org/eadl79djp/dwight.png');
}
.dwight:visited {
content: url('http://s18.postimg.org/eadl79djp/dwight.png');
}
<a class="dwight" href="#"><img src="http://s16.postimg.org/ph8f6jedt/print.png"/></a>