Skip to content

How to Hide Scrollbars in Tailwind Without Custom Classes or @layer? #16744

Answered by wongjn
MonaAghili asked this question in Help
Discussion options

You must be logged in to vote

Yep:

<div class="[scrollbar-width:none] [&::-webkit-scrollbar]:hidden">

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MonaAghili
Comment options

Answer selected by MonaAghili
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants