css布局手机端每日签到领积分h5页面效果代码
代码语言:html
所属分类:布局界面
代码描述:css布局手机端每日签到领积分h5页面效果代码
下面为部分代码预览,完整代码请点击下载或在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;
}
body {
width: 100%;
overflow-x: hidden;
background: url(//repo.bfw.wiki/bfwrepo/images/qiandao/bg.jpg) top center no-repeat #f5f5f5;
background-size: 100%;
}
img {
vertical-align: middle;
max-width: 100%;
}
a:hover,a:active,a:visited,a:link,a:focus {
-webkit-tap-highlight-color: transparent;
outline: none;
text-decoration: none;
}
.red {
color: #ff2d23;
}
.container {
width: 100%;
padding: .4rem .2rem;
}
/*顶部*/
.top-bar {
display: flex;
justify-content: space-between;
align-items: center;
color: #FFFFFF;
}
.top-bar i {
display: inline-block;
width: 1rem;
height: .5rem;
background: url(//repo.bfw.wiki/bfwrepo/images/qiandao/icon-left.png) left center no-repeat;
background-size: auto .40rem;
}
.top-bar span {
font-size: .36rem;
}
.top-bar a {
font-size: .26rem;
}
/*积分面.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0