css: avoid image hover first time blinking

前端 未结 12 611
深忆病人
深忆病人 2020-12-07 19:52

I have an anchor that changes its background image when hovered with a class class-btn that contains a background-image.

When hovered, it

12条回答
  •  情深已故
    2020-12-07 20:25

    The best way to do this is to just insert the images onto the webpage and set display to none.

提交回复
热议问题