html5 swipe滑动选择身高,swipe左右滑动

本文详细解析了前端布局`.branch_nav`的实现细节,包括宽度、高度、边框、阴影等属性的设置,以及在鼠标悬停时的动态效果。通过对`flex`布局和伪类选择器的应用,展示了如何创建响应式的导航菜单,增强用户体验。
摘要由CSDN通过智能技术生成

.branch_nav{

width: 100%;

height: rem(80);

position: relative;

overflow:hidden;

border-top:rem(2) solid #D2D2D2;

box-shadow: rem(670) 0 rem(80) rem(0)#F5F5F5 inset;

padding-left:rem(25);

}

.branch_nav ul{

display: flex;

width:130%;

margin-bottom: 0;

position: absolute;

left: 0;

}

.branch_nav ul li{

height: rem(80);

line-height: rem(80);

flex-grow: 1;

text-align: center;

font-size: rem(22);

box-sizing: border-box;

list-style: none;

color:#9D9D9D;

}

.branch_nav ul li:hover{

color:#F96E9D;

border-bottom:rem(4) solid #F96E9D;

}

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值