0
<html>
<head>
<style>
#example1 {
background-image: url(img_flwr.gif), url(paper.gif), url(flower.gif);
background-position: right bottom, left top;
background-repeat: no-repeat, repeat;
padding: 100px;
}
</style>
</head>
<body>
<div id="example1">
</div>
</body>
</html>
在这里,我用三个背景图像即img_flwr.gif,paper.gif,flower.gif。我想用css来滑动这些图片。我不想淡化这些图像。那么,我怎么能这样做呢?
你自己做了什么? –
您可能想为此使用JavaScript,因为CSS仅用于样式。 – Jer
你想设置多个背景图片吗?你应该使用'setInterval'和jQuery css http://api.jquery.com/css/来实现这一点 –