Appearance
使用 scroll-smooth 工具类来为元素应用 scroll-behavior: smooth 属性,指定其进行平滑滚动。
scroll-smooth
scroll-behavior: smooth
使用 scroll-auto 工具类来为元素应用 scroll-behavior: auto 属性,指定其进行立即滚动。
scroll-auto
scroll-behavior: auto