Click here to Skip to main content
15,885,309 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Div css hover animation not working when div is in always visible extender.

I am developing a web page i want to show some animated effect on mouse hover of div and my div is under alwys visible extender.
I am using css class for div as mentioned below
CSS
.divLeftClass
       {
           background-color: transparent;
           position: absolute;
       }

       .divLeftClass:hover
       {
           background-color: #FF2400;
           position: absolute;
       }


It is not working there. and when i tried using it on simple page it working correctly.
Hope i will get the right answer.
Posted
Comments
Sergey Alexandrovich Kryukov 5-Jun-14 0:41am    
That sounds strange. Is it possible to develop a very short, simplified to the absolute minimum complete code sample still manifesting this problem? CSS along won't show this problem.
—SA
HARSHADGCHAVAN 5-Jun-14 5:08am    
Thanks. it is working now.
Sergey Alexandrovich Kryukov 5-Jun-14 12:23pm    
Great. Congratulations!
Good luck, call again.
—SA
DamithSL 5-Jun-14 0:46am    
use http://jsfiddle.net/[^] and reproduce the issue as SA commented.
[no name] 13-Jun-14 8:01am    
Hi,

please visit the link for your query
http://www.w3schools.com/css/css3_transitions.asp

Hello,

please check below code for your question.

<div class="box"></div>

CSS
.box {
  width: 150px;
  height: 150px;
  background: red;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  -webkit-transition: background-color 2s ease-out;
  -moz-transition: background-color 2s ease-out;
  -o-transition: background-color 2s ease-out;
  transition: background-color 2s ease-out;
}

.box:hover {
  background-color: green;
  cursor: pointer;
}
 
Share this answer
 
See the demo with your code...

http://jsfiddle.net/hardik4now/cPw86/[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900