我有一个内嵌包含10个图像的div。在图像加载我想给div的动画效果。我想以%为单位增加它们的大小。我的css代码中没有定义的高度。如何为它制作动画。
小提琴http://jsfiddle.net/simmi_simmi123/Pukjw/5/
HTML页面
<body style="background-image:url('img2/Mesh2.png');background-repeat:no-repeat; background-size: cover;">
<h1>iFlow</h1>
<div id="container">
<div id="center" class="column" style=" background-color: gray; opacity: .80; -moz-opacity: 0.80;height:100% ">
<!-- This is all the XHTML ImageFlow needs -->
<div id="myImageFlow" class="imageflow" >
<img />
<img />
</div>
</div>
</div>
</body>
CSS:
.imageflow {
overflow: hidden;
position: relative;
text-align: left;
visibility: hidden;
width: 100%;
}
.imageflow img {
border: none;
position: absolute;
top: 0px;
visibility: hidden;
-ms-interpolation-mode: bicubic;
}
答案 0 :(得分:0)