Treehouse: Grow your CSS skills. Land your dream job.

mouseover trick

  • # July 27, 2012 at 10:31 am

    I need to create some code that when i mouse-over any part of my background, a portion of a background that is underneath that background is shown. I would prefer a css fix as i am not quite acclimated to jquery just yet. Thanks

    # July 27, 2012 at 10:48 am

    If it’s a background, you can’t mouse-over it.

    It sounds like you are talking about an element that has a background becoming transparent to show the background of the parent element. Is that what you are after?

    # July 27, 2012 at 10:56 am

    Well what i want to do is have a transperancy circle (for lack of beter words) over the cursor so that when it hover overs an element it exposes the image that is underneath an image. If that makes any sense at all…

    # July 27, 2012 at 11:07 am

    I think there is something about image-masks but I don’t have time to research it now.

    Google is your friend but :

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.