[Solved] Changing button image on hover
Here is a simple snippet that accomplishes the items you ask. I used jQuery’s hover function to attach event handlers to modify the images. I set 0 font-size, padding, and margin on the container (body) and used 50% width and 50vh (viewport height) to get 4 equal quadrant buttons. $(‘button’).hover(function() { $(this).find(‘img’).attr(‘src’, ‘http://via.placeholder.com/200×150’); }, function() … Read more