css实现app设计制作案例展示悬浮动画效果代码
代码语言:html
所属分类:悬停
代码描述:css实现app设计制作案例展示悬浮动画效果代码
代码标签: css app 设计 制作 案例 展示 悬浮 动画
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> /* 公共样式表css */ html,body { color: #333; margin: 0; height: 100%; font-family: "Myriad Set Pro","Helvetica Neue",Helvetica,Arial,Verdana,sans-serif; } * { -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 */ .app-store-box { padding: 80px 0; box-sizing: border-box; background-repeat: no-repeat; background-position: center; background-color: #252525; } .app-store-head h2 { position: relative; font-weight: normal; text-align: center; font-size: 38px; color: #fff; z-index: 50; } .app-store-wrap { width: 1200px; position: relative; margin: 0 auto; } .app-store-list { height: 380px; padding: 0 15px; margin: 30px 0; text-align: justify; } .app-store-item { position: relative; float: left; margin: 0 10px; width: 214px; height: 100%; background: #fff; text-align: center; overflow: hidden; font-size: 0; border-radius: 10px; } .app-store-item:hover { box-shadow: 0px 1px 17px 5px rgba(156,244,255,0.3); -webkit-box-shadow: 0px 1px 17px 5px rgba(156,244,255,0.3); -moz-box-shadow: 0px 1px 17px 5px rgba(156,244,255,0.3); } .app-store-item:after { content: ""; display: inline-block; width: 0; height: 100%; vertical-align: middle; } .app-store-item img { vertical-align: middle; max-width: 100%; max-height: 100%; } .app-store-info { position: absolute; top: 0; left: 0; .........完整代码请登录后点击上方下载按钮下载查看
网友评论0