CSS3 hidden div fade on in hover?
问题 I have my jsfiddle here. http://jsfiddle.net/xC5wN/ I basically want the hidden div to slide open when about is hovered over with a mouse. It's going to be a part of a navigation bar and the description of the page will slow below. I've tried using -webkit-transition: all 0.5s ease-in-out; to no avail. Here is my code: .aboutnav { background-color: #a661ca; } .aboutcontents { display: none; } .aboutnav:hover .aboutcontents { display: block; background-color: #a661ca; } 回答1: LIVE DEMO