Html-移动端与响应式

.banner {

display: flex;

width: 100%;

height: 569px;

background-color: #edeffe;

flex-direction: column;

justify-content: center;

align-items: center;

}

.copywarp {

flex: 2;

display: flex;

flex-direction: column;

justify-content: flex-start;

align-items: center;

text-align: center;

}

.copywarp .redapple {

margin: 20px 0;

width: 54px;

height: 67px;

background-image: url(“…/imag/applered.png”);

background-position: center;

background-repeat: no-repeat;

}

.copywarp h2 {

width: 500px;

position: inherit;

font-size: 43px;

line-height: 1.08349;

color: #1d1d1f;

padding-left: 20px;

margin-bottom: 20px;

}

.copywarp .rightlogo a {

text-decoration: none;

color: #06c;

}

.copywarp .rightlogo a:hover {

text-decoration: underline;

}

.rightlogo {

position: relative;

}

.copywarp .rightlogo::before {

position: absolute;

left: 65px;

top: 3px;

content: " ";

display: block;

width: 15px;

height: 15px;

background-image: url(“…/imag/xiangyou1.png”);

background-position: center center;

background-size: 100% auto;

background-repeat: no-repeat;

}

.picture {

width: 80%;

height: 90%;

height: 281px;

flex: 3;

display: flex;

flex-direction: row;

justify-content: space-around;

margin: 0px;

}

.picture .img_1 {

flex: 1;

}

.picture .img_2 {

flex: 1;

}

.picture .img_3 {

flex: 1;

}

  • {

margin: 0;

padding: 0;

}

.nav {

width: 100%;

height: 44px;

background-color: rgba(0, 0, 0, 0.8);

display: flex;

justify-content: center;

align-items: center;

font-family: “宋体”;

font-size: 12px;

}

.nav a {

color: #fff;

/* 设置a标签下划线为none */

text-decoration: none;

width: 102px;

text-align: center;

}

.nav > .logo {

height: 44px;

width: 44px;

background-image: url(“…/imag/logo.png”);

background-repeat: no-repeat;

background-position: center;

}

.nav > .search {

width: 44px;

height: 44px;

background-image: url(“…/imag/search.png”);

background-repeat: no-repeat;

background-position: center;

}

.nav > .buy {

width: 44px;

height: 44px;

background-image: url(“…/imag/buy.png”);

background-repeat: no-repeat;

background-position: center;

}

label {

width: 44px;

height: 44px;

}

.togglebtn {

width: 44px;

display: none;

position: relative;

flex-direction: column;

justify-content: center;

align-items: center;

}

.togglebtn > .line {

  • 29
    点赞
  • 9
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值