CSS3 transition-delay event will be fired for elements after they are activated. Here you set the height to 0, but still the "li" element is not in the DOM (therefore, it does not work).
so after setting the height to 0px make it live. those.
document.body.appendChild(dynamic_gallery)
"Li" , transition-duration:.4s.
400 , dynamic_gallery.className + = "gallery-exp";
.
: , 0 , .
,
setTimeout(function(){
dyna_gallery.className += " gallery-exp";},0)
dyna_gallery.className += " gallery-exp";
: http://jsfiddle.net/zYLmw/