全部。我在我的网站上工作。我制作了一个动态图像横幅,我的问题是,我想为我的动画横幅显示 4d 或 5d 图像。 OPZET 印度是我的网站。我的片段在这里。
<head>
<style type="text/css">
.banner{
position:absolute;
background:url(http://previews.123rf.com/images/iimages/iimages1206/iimages120600296/13935384-Illustration-of-empty-yard-and-school-Stock-Vector-road-school-cartoon.jpg);
-webkit-animation:100s scroll infinite linear;
-moz-animation:100s scroll infinite linear;
-o-animation:100s scroll infinite linear;
-ms-animation:100s scroll infinite linear;
animation:100s scroll infinite linear;
top:0;
left:0;
width:100%;
height:100%;
text-align:center;
}
@-webkit-keyframes scroll{
100%{
background-position:3000px 0px;
}
}
@-moz-keyframes scroll{
100%{
background-position:3000px 0px;
}
}
@-o-keyframes scroll{
100%{
background-position:3000px 0px;
}
}
@-ms-keyframes scroll{
100%{
background-position:3000px 0px;
}
}
@keyframes scroll{
100%{
background-position:3000px 0px;
}
}
</style>
</head>
<body>
<div class="banner">
<h1>OPZET India</h1>
</div>
</body>
我想让我的网站横幅像这个参考网站一样