Questions tagged [hover]

Hover refers to the action of placing the mouse cursor over a given element. Hover can also refer to an event in which a user on a touch-enabled device touches a given element.

Hover (sometimes referred to as ) is an event in which the user places the mouse cursor over any given element in a graphical user interface. Hover can also refer to an event in which a user on a touch-enabled device touches a given element.

In most cases, when hovering an item such as, for example, an , the cursor will change from default to pointer (small hand with index pointing) to indicate to the user that the item is clickable.

10690 questions
31
votes
9 answers

Eclipse in Ubuntu: hover background color property, where?

I changed the background color that is visible when hovering code (to black). For example when you hover over a method, you see its signature in a box; I mean the background color of that box. I want to rechange it but I don't find the property…
juanmirocks
  • 4,786
  • 5
  • 46
  • 46
30
votes
9 answers

How to use 'hover' in CSS

I used the code below in order to fulfill this target: When mouse hover on the anchor, the underline comes out, but it failed to work, click a .hover :hover{ text-decoration:underline; } What's the right…
omg
  • 136,412
  • 142
  • 288
  • 348
30
votes
5 answers

CSS hover selector for background-color not working after dynamic change of background-color with jquery

I dynamically change the background color of a div with the jquery .css() method. I also want to have a CSS hover selector on that same div that changes the background color. It seems that before the color is changed with jquery, the CSS hover…
Justin Meltzer
  • 13,318
  • 32
  • 117
  • 182
30
votes
7 answers

-transform:scale causing 'blinking' when hovering

I am working on a catalog which uses css -transform attribute to scale each 'swatch' upon hovering. Here's my problem: In some browsers and on certain sites, when you hover over the swatches, it causes the page to 'blink' as your roll over them. I…
Tony Beninate
  • 1,926
  • 1
  • 24
  • 44
30
votes
4 answers

CSS hover on a div, but not if hover on his children

I looked if this question had already been answered, but couldn't find anything, only questions on the reverse css rule I am looking for. I have a div that contains one or more child, and I want it to change its background on hover, but not if…
Nillus
  • 1,131
  • 1
  • 14
  • 32
30
votes
3 answers

Samsung hovering API with finger

Samsung has done something great with the hovering API, and I'm interested in including it in my app. The problem is that the hovering API included in the SPen SDK only work with the SPen and not with the finger detection like the latest apps do on…
Stephane Mathis
  • 6,542
  • 6
  • 43
  • 69
30
votes
6 answers

show/hide a div on hover and hover out

I would like to show and hide a div during hover and hover out. here's what I've done lately. css $("#menu").hover(function() { $('.flyout').removeClass('hidden'); }, function() { $('.flyout').addClass('hidden'); }); .flyout { position:…
Tsukimoto Mitsumasa
  • 541
  • 4
  • 19
  • 42
29
votes
4 answers

How to: Add/Remove Class on mouseOver/mouseOut - JQuery .hover?

Looking to change the border color on a box.. ..when the user mouses over/out.. Here's the attempted code.. Needs Work! JQuery: