0

How can I make sure that the :hover selector applies even if I refresh the page and don't move the cursor? I only have problems in Chrome. In works in Firefox.

Try the fiddle: https://jsfiddle.net/sqrd2xgy/2/

In this demo, when I refresh the page the hover effect is not applied. So I have to move the cursor a bit.

demo

It looks like a common problem (Chrome won't apply css hover style when left mouse button is held down) so I wonder where there are any workarounds (pure css).

dominik
  • 5,745
  • 6
  • 34
  • 45

0 Answers0