正在加载视频...

视频加载失败

🔑 Tip from my <Slider> lesson: Add the `touch-none` and `select-none` Tailwind utilities to avoid unwanted scrolling + selection for custom components on mobile Safari!

21,379 次观看 • 2 年前 •via X (Twitter)

4 条评论

John Barker 的头像
John Barker2 年前

Great tip! Also, what is driving the re-ordering of the class name upon save?

Sam Selikoff 的头像
Sam Selikoff2 年前

This guy

Laura Beatris 的头像
Laura Beatris2 年前

Awesome! What's the extension that you use to get the CSS rules used by a Tailwind class on hover?

Srdjan Milicevic 的头像
Srdjan Milicevic2 年前

Would putting select-none on main apply to all the children inside main?

相关视频