I have code on an element for transition:
#zlatest .zreader-toggle-fetch-inner {
-webkit-transition: all 3s ease-in-out;
-moz-transition: all 3s ease-in-out;
-o-transition: all 3s ease-in-out;
transition: all 3s ease-in-out;
}
This matches one element. On this element I switch between these classes and hoped to see a smooth transition, but the change is immediate:
.zReader-requested {
height: 50px;
}
.zreader-received {
height: auto;
}
What am I doing wrong here?