Preventing image flicker on hover when replacing it with another image (CSS)
问题 When I hover my cursor on the logo the first time after the page loads, it starts to blink rapidly for about a second. I've thought about using sprites, but I don't want to set the logo as the background image - I already have one. Here's my CSS code: <!DOCTYPE HTML> <head> <style> html { background-image:url('backgroundimage.jpg'); -webkit-background-size: 100%; -moz-background-size: 100%; -o-background-size: 100%; background-size: 100%; -webkit-filter: brightness(0.6); -moz-filter: