<div class="Coutimeyear" >
<div class="Coutimeyearsmall"></div>
</div>
css
.Coutimeyear{
width:95%;
height:1.2rem /* 30/25 */;
float: left;
overflow-y: hidden;
overflow-x: auto;
white-space: nowrap;
margin-left: 2%;
.Coutimeyearsmall{
width:1.2rem /* 30/25 */;
height:1.2rem /* 30/25 */;
position: relative;
display: inline-block;
}
}
css 内容超出 横向滑动
最新推荐文章于 2024-07-05 16:57:06 发布