百度
360搜索
搜狗搜索

html动态特效代码,文字的动态html效果详细介绍

.div1{
height:300px;
background-image: url(TYPanorama.jpg);
background-position: 0px 0px;
background-repeat: repeat-x;
animation: animatedBackground 10s linear infinite;
-moz-animation: animatedBackground 10s linear infinite;
-o-animation: animatedBackground 10s linear infinite;
}
@-webkit-keyframes animatedBackground {
0% { background-position: 0 0; }
12% { background-position: 60% 0; }
25% { background-position: 120% 0; }
38% { background-position: 60% 0; }
50% {background-position: 0 0; }
62% {background-position: -60% 0; }
75% {background-position: -120% 0; }
88% {background-position: -60% 0; }
100% {background-position: 0 0; }
}
@-moz-keyframes animatedBackground {
0% { background-position: 0 0; }
12% { background-position: 60% 0; }
25% { background-position: 120% 0; }
38% { background-position: 60% 0; }
50% {background-position: 0 0; }
62% {background-position: -60% 0; }
75% {background-position: -120% 0; }
88% {background-position: -60% 0; }
100% {background-position: 0 0; }
}
@-o-keyframes animatedBackground {
0% { background-position: 0 0; }
12% { background-position: 60% 0; }
25% { background-position: 120% 0; }
38% { background-position: 60% 0; }
50% {background-position: 0 0; }
62% {background-position: -60% 0; }
75% {background-position: -120% 0; }
88% {background-position: -60% 0; }
100% {background-position: 0 0; }
}
@keyframes animatedBackground {
0% { background-position: 0 0; }
12% { background-position: 60% 0; }
25% { background-position: 120% 0; }
38% { background-position: 60% 0; }
50% {background-position: 0 0; }
62% {background-position: -60% 0; }
75% {background-position: -120% 0; }
88% {background-position: -60% 0; }
100% {background-position: 0 0; }
}

HTML Canvas Animations Demo - By Gloomy Fish

Play Animations
阅读更多 >>>  漂亮的html页面源码,程序员必须知道的HTML常用代码有哪些

网站数据信息

"html动态特效代码,文字的动态html效果"浏览人数已经达到20次,如你需要查询该站的相关权重信息,可以点击进入"Chinaz数据" 查询。更多网站价值评估因素如:html动态特效代码,文字的动态html效果的访问速度、搜索引擎收录以及索引量、用户体验等。 要评估一个站的价值,最主要还是需要根据您自身的需求,如网站IP、PV、跳出率等!