使用注意:

  1.scroll-view 中的需要滑动的元素不可以用 float 浮动;

  2.scroll-view 中的包裹需要滑动的元素的大盒子用 display:flex; 是没有作用的;

  3.scroll-view 中的需要滑动的元素要用 dislay:inline-block; 进行元素的横向编排;

  4.包裹 scroll-view 的大盒子有明确的宽和加上样式  --->  overflow:hidden; white-space:nowrap;

相关文章:

  • 2021-12-22
  • 2022-12-23
  • 2022-01-12
  • 2021-06-25
  • 2021-11-30
  • 2022-12-23
  • 2021-05-31
  • 2021-11-13
猜你喜欢
  • 2021-06-09
  • 2021-11-06
  • 2021-05-08
  • 2022-12-23
  • 2022-12-23
  • 2021-12-25
  • 2021-11-30
相关资源
相似解决方案