div+css实现饮料瓶流水线加工过程loading加载动画效果代码
代码语言:html
所属分类:加载滚动
代码描述:div+css实现饮料瓶流水线加工过程loading加载动画效果代码
代码标签: div css 饮料瓶 流水线 加工 过程 loading 加载 动画
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Roboto:400,100,300,500,700,900'> <style> body{ margin:0; color:#444; background-color:#141414; font:300 18px/18px Roboto, sans-serif; } *,:after,:before{box-sizing:border-box} .pull-left{float:left} .pull-right{float:right} .clearfix:after,.clearfix:before{content:'';display:table} .clearfix:after{clear:both;display:block} .loader-wrap{ top:50%; left:50%; width:374px; height:194px; position:fixed; margin-top:-97px; margin-left:-187px; } .bar{ height:5px; width:100%; margin:30px 0; position:relative; background-color:#444; } .bar:before{ top:0; left:0; width:0; content:''; height:inherit; position:absolute; background-color:#FBCE13; -webkit-animation:bar 2500ms linear infinite; animation:bar 2500ms linear infinite; } .text{ color:#FBCE13; font-size:24px; font-weight:500; text-align:center; letter-spacing:10px; text-transform:uppercase; } .cap{ left:0; right:0; top:-15px; z-index:1; width:100%; position:absolute; } .cap>i{ opacity:0; height:3px; width:16px; margin-left:12px; border-radius:3px; position:absolute; background-color:#FBCE13; -webkit-animation:move-cap 2500ms linear infinite; animation:move-cap 2500ms linear infinite; } .bottle-fill{ -webkit-animation:waves 2500ms infinite linear, fill 2500ms infinite forwards; animation:waves 2500ms infinite linear, fill 2500ms infinite forwards; } .bottle-wrap{ height:110px; position:relative; } .bottle{ bottom:0; opacity:0; width:40px; text-align:center; position: absolute; display:inline-block; vertical-align:bottom; transform-origin:bottom right; transform:translateX(-300px); -webkit-animation:move 2500ms linear infinite; animation:move 2500ms linear infinite; } .bottle:before, .bottle:after{ left:50%; opacity:0; content:''; position:absolute; background-color:#FBCE13; } .bottle:before{ opacity:1; width:4px; top:-40px; height:14px; margin-left:-2px; -webkit-animation:lock-cap 2500ms linear infinite; animation:lock-cap 2500ms linear infinite; } .bottle:after{ top:0; height:4px; width:16px; margin-left:-8px; border-radius:4px; -webkit-animation:show-cap 2500ms linear infi.........完整代码请登录后点击上方下载按钮下载查看
网友评论0