0

http://codepen.io/anon/pen/Iwtyg

I'm working on this small project (see the CodePen) and, apart from many other things, trying to make the div.artMaintext gradually appear after the div is resized, but for some reason the transition: color 850ms on line 48 is getting ignored.

Is something overriding it somewhere that I fail to see?

Any thoughts are much appreciated!

SpaceDust__
  • 4,844
  • 4
  • 43
  • 82

2 Answers2

0

Add this after line 48:

-webkit-transition: color 850ms;
-moz-transition: color 850ms;
-o-transition: color 850ms;
-ms-transition: color 850ms;

Make sure you use the starting dash '-'

L4zl0w
  • 1,069
  • 4
  • 15
  • 42
0

I figured it out.

It seems that if the initial display property is set to none all the following CSS for the object is not applied. So instead I used minuscule height on line 44 to hide the div and after that transition started working.

Thanks for all the suggestions!