jqFloat实现网页元素漂浮动画效果代码
代码语言:html
所属分类:动画
代码描述:jqFloat实现网页元素漂浮动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html> <head> <style> body { margin: 0; padding: 0; font-family: Arial,Helvetica,sans-serif; overflow: hidden; } header, section, footer { display: block; } /* Header */ header { width: 100%; background: #000; background: rgba(0, 0, 0, 0.8); color: #ccc; padding: 15px 0; font-family: Arial Narrow, Arial, sans-serif; letter-spacing: 1px; margin-bottom: 20px; position: absolute; top: 0; left: 0; z-index: 99; } header h1 { margin: 0 50px; text-shadow: 1px 1px 0 #FFF, 2px 1px 1px #CCC; float: left; } #backlinks { float: right; margin: -10px 20px; line-height: 25px; font-weight: bold; font-size: 12px; text-align: right; } #backlinks a { color: #35BFFF; text-decoration: none; margin: 3px 0 0; display: block; } #backlinks a:hover { color: #91DCFF; } /* Footer */ footer { background: rgb(0, 0, 0); background: rgba(0, 0, 0, 0.8); height: 25px; width: 100%; line-height: 25px; position: absolute; bottom: 0; left: 0; bottom: 0; left: 0; color: #888; font-size: 11px; z-index: 99; } footer span { padding-left: 20px; .........完整代码请登录后点击上方下载按钮下载查看
网友评论0