highlight list element using :before selector30 Dec 2016
Moving the mouse on an item in the list changes the backgound of the image and color of the title. Figuring out which element’s hover state created the effect was key. The hover state was linked to the list and its css linked to the other components.
The img itself has to be in a div
img_wrap and on mouse over the before select of the wrapper div is modified
Alternatively you can create a new div in img_wrap with the same properties along with
display:hidden and reveal it on hover state