Need some help with a mouse over

Discussion in 'CSS' started by Fracisc, Oct 8, 2014.

  1. #1
    I have a simple text. When people place their mouse over that text, I want to show an image in the center of the text (DIV) with a link on it.

    It will be a quote which people could share on social media when they place their mouse over it. Any help in realizing that would be appreciated!

    Thanks!
     
    Fracisc, Oct 8, 2014 IP
  2. COBOLdinosaur

    COBOLdinosaur Active Member

    Messages:
    515
    Likes Received:
    123
    Best Answers:
    11
    Trophy Points:
    95
    #2
    Well without a link or the code you are trying to use the best I can do is guess.
    If the image link is a child of the div then you give it a class that includes a property of display:none then for the mouse over you need a rule like div:hover>theclass {display:block:}
     
    COBOLdinosaur, Oct 8, 2014 IP