css布局实现大气pc网站底部foot布局效果代码
代码语言:html
所属分类:布局界面
代码描述:css布局实现大气pc网站底部foot布局效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>云计算底部信息</title> <style> /* 公共样式表css */ html,body { color: #333; margin: 0; height: 100%; font-family: "Myriad Set Pro","Helvetica Neue",Helvetica,Arial,Verdana,sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-weight: normal; } * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } a { text-decoration: none; color: #000; } img { border: 0; } body { background: #fff; color: #666; } html, body, div, dl, dt, dd, ol, ul, li, h1, h2, h3, h4, h5, h6, p, blockquote, pre, button, fieldset, form, input, legend, textarea, th, td { margin: 0; padding: 0; } a { text-decoration: none; color: #08acee; } button { outline: 0; } img { border: 0; } button,input,optgroup,select,textarea { margin: 0; font: inherit; color: inherit; outline: none; } li { list-style: none; } a { color: #666; } a:hover { color: #eee; } .clearfix::after { clear: both; content: "."; display: block; height: 0; visibility: hidden; } .clearfix { } /* 必要布局样式css */ .cloud-banner { position: relative; min-width: 1200px; background: #0af url(//repo.bfw.wiki/bfwrepo/images/cloud-back.jpg) no-repeat center; height: 180px; overflow: hidden; color: #fff; text-align: center; } .cloud-bubble-one { position: absolute; top: -120px; left: 50%; z-index: 10; margin-left: -120px; width: 240px; height: 240px; background: url(//repo.bfw.wiki/bfwrepo/images/cloud-back-bule1.png); animation: bubble-animate-1 linear 10s infinite; } .cloud-bubble-two { position: absolute; top: 50px; left: 34%; z-index: 11; width: 360px; height: 360px; background: url(//repo.bfw.wiki/bfwrepo/images/cloud-back-bule2.png); animation: bubble-animate-2 linear 12s infinite; } .cloud-bubble-three { position: absolute; top: 50px; left: 48%; z-index: 12; width: 300px; height: 300px; background: url(//repo.bfw.wiki/bfwrepo/images/cloud-back-bule3.png); animation: bubble-animate-3 linear 11s infinite; } @keyframes bubble-animate-1 { from { top: -120px } 50% { top: -180px } to { top: -120px } } @keyframes bubble-animate-2 { from { top: 50px; left: 34% } 50% { top: 80px; left: 24% } to { top: 50px; left: 34% } } @keyframes bubble-animate-3 { from { top: 50px; left: 48% } 50% { top: 80px; left: 58% } to { top: 50px; left: 48% } } .cloud-bubble-text { position: relative; padding-top: 46px; z-index: 20; font-size: 24px; } .cloud-bubble-link { position: relative; z-index: 20; } .cloud-bubble-link a { .........完整代码请登录后点击上方下载按钮下载查看
网友评论0