实现如图所示的东西效果(落叶下落):
html代码:
HTML5树叶飘落动画这是基于webkit的落叶动画
css代码:body{
background-color: #4E4226;
}#container {
position: relative;
height: 700px;
width: 500px;
margin: 10px auto;
overflow: hidden;
border: 4px solid #5C090A;
background: #4E4226 url('images/backgroundLeaves.jpg') no-repeat top left;
}#leafContainer {
position: absolute;
width: 100%;
height: 100%;
}#message{
position: absolute;
top: 160px;
width: 100%;
height: 300px;
background:transparent url('images/tex