1.父盒子设置 overflow:hidden;

移动端最简单左右滑动效果

2.子盒子设置 display:box; overflow-x:scroll;

  1. 移动端最简单左右滑动效果

3.子盒子子元素设置 display:block;height:.34rem;

移动端最简单左右滑动效果

相关文章:

  • 2021-12-23
  • 2021-08-15
  • 2021-10-31
  • 2022-12-23
  • 2021-11-27
  • 2022-01-22
  • 2022-01-30
  • 2021-07-11
猜你喜欢
  • 2021-12-11
  • 2022-12-23
  • 2021-12-28
  • 2022-02-14
  • 2022-01-01
  • 2021-12-23
  • 2022-01-21
相关资源
相似解决方案