Showing posts with label hover. Show all posts
Showing posts with label hover. Show all posts

Friday, February 24, 2017

How to indicate there's some info available on hover/click?

1. "Info" icon in the corner:













May be on hover or on click. 

2. Mobile: remember there's no hover. 















3. Highlighting with styling. Example -- dotted underline. Info may appear on hover or on click:














4. 4. Mouse pointer changing on hover:





Then info is displayed on click.

Should a button become lighter or darker on hover?

The key is not really the colour, it is the contrast.

Let say that you have the more common scenario of dark text and no other part of the design changes on hover and it's the background only, then when you hover, the button should be given a highlight. You're trying to focus on an item - to examine it and therefore it makes sense to brighten it up as if giving it more light to see by. Appearing backlit or frontlit makes no difference.

By comparison, look at the inverse scenario, where you have light text, the same rule of thumb would say that in order to increase relative contrast between figure and ground, the background should darken, to increase the relative contrast.