css布局移动端手机端优惠券列表我的优惠券页面代码
代码语言:html
所属分类:布局界面
代码描述:css布局移动端手机端优惠券列表我的优惠券页面代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>优惠卷</title> <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" /> <style> * { margin: 0; padding: 0; border: 0; list-style: none; text-decoration: none; color: inherit; font-weight: normal; font-family: "微软雅黑"; box-sizing: border-box; font-style: normal; outline: none; -webkit-tap-highlight-color: transparent; } body { width: 100%; overflow-x: hidden; background: #eaeaea; } img { vertical-align: middle; max-width: 100%; } .container { width: 100%; padding: 0 .4rem; } /*顶部标题返回*/ .top-bar { position: fixed; width: 100%;;top: 0; left: 0; display: flex; align-items: center; width: 100%; height: .9rem; padding: 0 .2rem; background: #fff; z-index: 99; } .top-bar i { display: inline-block; width: .5rem; height: .9rem; background: url(//repo.bfw.wiki/bfwrepo/image/5f7ab7a3a8387.png) left center no-repeat; background-size: .68rem .61rem; position: relative; z-index: 3; } .top-bar .title { position: absolute; height: .4rem; width: 100%; text-align: center; left: 0; font-size: .34rem; z-index: 2; } .category { font-size: .3rem; color: #666666; position: fixed; top: .9rem; width: 100%; padding: 0 .4rem; background: #fff;;z-index: 99; } .category ul { display: flex; justify-content: space-between; width: 100%; align-items: center; } .category ul li { padding: .1rem 0 .3rem 0; position: relative; } .category ul li.active { color: #fc1b1b; } .........完整代码请登录后点击上方下载按钮下载查看
网友评论0