0

My Code for showing divs with fade-in effect is as here

@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

.fade-in {
        opacity:0;  
        -webkit-animation:fadeIn ease-in 1;  
        -moz-animation:fadeIn ease-in 1;
        animation:fadeIn ease-in 1;

        -webkit-animation-fill-mode:forwards;  
        -moz-animation-fill-mode:forwards;
        animation-fill-mode:forwards;

        -webkit-animation-duration:2s;
        -moz-animation-duration:2s;
        animation-duration:2s;

    }

.fade-in.one
{
    -webkit-animation-delay: 1.7s;
    -moz-animation-delay: 1.7s;
    animation-delay: 1.7s;
}

Then i am using that to a div which needs to fade in while loading.

<div  class="fade-in one">
<label>Message Box</label>
This box will show some messages
</div>

This code works fine in chrome and firefox as well, but in ie it is showing no animation.

Kindly help in fixing this problem. I have tried many changes in the code, and IE versions as well. But no joy. Please help ....

Dileep KK
  • 133
  • 1
  • 8

0 Answers0