javascript - css (or jQuery) fade on hover? -


i've been self-teaching myself css , javascript/jquery lately, however. i'm more sort learns dissecting code that's there. current "project" this: http://jsfiddle.net/wqc42v6p/

i've tried soemthing this:

#premise {visibility:hidden;} #premise:hover {visibility: visibile;} 

with no results.

i got thinking if premise div hidden, perhaps it's impossible hover on it. i'm not sure how make hovering on 1 div affect visibility property of another, either. if worked, imagine mouse isn't hovering on div :hover psuedo... might fade back... or theory. don't know. said, i'm self-taught.

i'd have fade in when area's hovered on , out when hover leaves area.

you may use opacity:0 , opacity:1

http://jsfiddle.net/p289a03w/


Popular posts from this blog