css实现河水流动河流时间节点时间轴动画效果代码
代码语言:html
所属分类:布局界面
代码描述:css实现河水流动河流时间节点时间轴动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title></title> <style> /*公共样式--开始*/ html, body, div, ul, li, h1, h2, h3, h4, h5, h6, p, dl, dt, dd, ol, form, input, textarea, th, td, select { margin: 0; padding: 0; } *{box-sizing: border-box;} html, body { min-height: 100%; } body { font-family: "微软雅黑"; font-size:14px; color:#333; } h1, h2, h3, h4, h5, h6{font-weight:normal;} ul,ol { list-style: none; } img { border: none; vertical-align: middle; } a { text-decoration: none; color: #232323; } table { border-collapse: collapse; table-layout: fixed; } input, textarea { outline: none; border: none; } textarea { resize: none; overflow: auto; } .clearfix { zoom: 1; } .clearfix:after { content: "."; width: 0; height: 0; visibility: hidden; display: block; clear: both; overflow:hidden; } .fl { float: left } .fr { float: right } .tl { text-align: left; } .tc { text-align: center } .tr { text-align: right; } .ellipse { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .inline{ display: inline-block; *display: inline; *zoom: 1; } a,img,input{ display: block; } body{ max-width: 1920px; min-width:320px; margin:0 auto; font-family:Helvetica; padding: 0; outline: 0; background-color: #f2f2f2; -webkit-text-size-adjust: none; -webkit-tap-highlight-color: transparent; } a,input,p{ text-decoration:none; color:black; outline:none; border:0; -webkit-tap-highlight-color:rgba(255,0,0,0); } .box{ width: 1207px; height: 2068px; display: block; top: 50%; left: 50%; background: url(//repo.bfw.wiki/bfwrepo/image/6066925046dc4.png) 0px 0px no-repeat ; margin: auto; } .box2{ width: 1207px; height: 0px; display: block; position: absolute; /*top: 50%; left: 50%;*/ background: url(//repo.bfw.wiki/bfwrepo/image/60668f45a909b.png) 0px 0px no-repeat; animation: aa 5s linear; animation-fill-mode: forwards; } .box2-1{ width: 1207px; height: 2000px; position: absolute; } .box2-1 span{ font-size: 16px; color: red; font-weight: 600; } .box2-1 p{ opacity: 0; /*color: #FF0000;*/ color: #333333; transition: all .5s linear; } .boxh img{ width: 17px; height: 17px; animation:img1 .8s infinite; } .box2-1-1,.box2-1-2,.box2-1-3,.box2-1-4,.box2-1-5{ position:absolute ; z-index: 999; opacity: 0; cursor: pointer; } .boxh img:hover{ width: 20px; height: 20px; } .boxh:hover .boxp{ opacity: 1; } .box2-1-1{ top: 14%; left: 20%; animation: bb1 3s ease-in-out; animation-fill-mode: forwards; } .box2-1-2{ top: 24%; left: 26%; animation: bb2 5s ease-in-out; animation-fill-mode: forwards; } .box2-1.........完整代码请登录后点击上方下载按钮下载查看
网友评论0