Search
 
SCRIPT & CODE EXAMPLE
 

CSS

hide scrolbar tailwind

/*
    https://github.com/tailwindlabs/tailwindcss/discussions/2394
    https://github.com/tailwindlabs/tailwindcss/pull/5732
*/
@layer utilities {
    /* Chrome, Safari and Opera */
    .no-scrollbar::-webkit-scrollbar {
      display: none;
    }

    .no-scrollbar {
      -ms-overflow-style: none; /* IE and Edge */
      scrollbar-width: none; /* Firefox */
    }
}

<div className="no-scrollbar overflow-y-auto">
Comment

scrollbar hide tailwind

// Using npm
npm install tailwind-scrollbar-hide

// Using Yarn
yarn add tailwind-scrollbar-hide

// Using pnpm
pnpm add tailwind-scrollbar-hide

// then add class
scrollbar-hide -> done ❤️
Comment

scrollbar hide tailwind

// tailwind.config.js, you have to add it as plugin
module.exports = {
  theme: {
    // ...
  },
  plugins: [
    require('tailwind-scrollbar-hide')
    // ...
  ]
}
Comment

PREVIOUS NEXT
Code Example
Css :: Responsive font size with clamp 
Css :: import image css 
Css :: change color to white svg with filter 
Css :: css darken 
Css :: font awesome pseudo element 
Css :: make blinking cursor disappear css 
Css :: line through in css 
Css :: html button scale to fit text 
Css :: android studio cardview background transparent 
Css :: css list line spacing 
Css :: secondline ellipsis 
Css :: tailwind css npm 
Css :: ssh: connect to host 165.22.132.219 port 22: Connection refused 
Css :: Push an existing folder to git 
Css :: background color for whole page css 
Css :: position sticky css 
Css :: comentarios en css 
Css :: all ipad Resolutio css 
Css :: underline css still there after text-decoration: none 
Css :: css remove outline 
Css :: vue v-cloak not working 
Css :: css put span on new line 
Css :: vertical line between two divs 
Css :: red css color codes 
Css :: spaces between letters css 
Css :: css lighten function 
Css :: 3 line after dot in css 
Css :: css disabled cursor not allowed 
Css :: css background properties 
Css :: repeating-linear-gradient 
ADD CONTENT
Topic
Content
Source link
Name
2+6 =