jquery实现动画多条进度条效果
代码语言:html
所属分类:动画
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title> - Animation with progress bars</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
* {
padding: 0;
margin: 0;
}
body {
overflow: hidden;
}
.container {
width: 100vw;
height: 100vh;
transition: transform 5s;
background: linear-gradient(276deg, #000000, #4e0000);
background-size: 400% 400%;
-webkit-animation: AnimationName 41s ease infinite;
-moz-animation: AnimationName 41s ease infinite;
animation: AnimationName 41s ease infinite;
}
@-webkit-keyframes AnimationName {
0% {
background-position: 90% 0%;
}
50% {
background-position: 11% 100%;
}
100% {
background-position: 90% 0%;
}
}
@-moz-keyframes AnimationName {
0% {
background-position: 90% 0%;
}
50% {
background-position: 11% 100.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0