::hover

Discussion in 'Web Design and Development' started by Aouttier, Oct 12, 2016.

  1. Aouttier macrumors newbie

    Joined:
    Mar 3, 2016
    Location:
    Belgium
    #1
  2. 960design macrumors 68020

    Joined:
    Apr 17, 2012
    Location:
    Destin, FL
    #2
    Mobile Safari is guessing your intentions. You cannot 'hover' with an iPhone

    A hover is fired when the mouse pointer literally hovers over the element. Clicking fires the :active psuedo class.

    See in action here:
    http://output.jsbin.com/dojapemage

    Note: no hover over the paragraph, even if you tap with your iPhone. But the button will momentarily display blue for the active click and then transition to the hover effect. Try on a computer with a mouse and you will see the hover red over the paragraph and the blue active when clicking the button.

    Hope this clears it up a little.
     

Share This Page