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 :: onclick after color change in css 
Css :: overflow-y scroll not working in chrome 
Css :: how to increase text height css 
Css :: media query for max width and height 
Css :: drop down menu html css 
Css :: css nth-child 
Css :: Error: Could not find "stylelint-csstree-validator" 
Css :: css flex bottom 
Css :: @media query css 
Css :: rgb blue color code 
Css :: css code for green 
Css :: css div take remaining screen height 
Css :: linux remove files except 
Css :: add css file through jquery 
Css :: had to add a tint to a picture on css 
Css :: changer angle div 
Css :: how to make distance betwwen corosel transition 
Css :: refresh css on page 
Css :: width 33 css 
Css :: css clippath 
Css :: animate zoom in and zoom out in css 
Css :: use CSS to add a bullet point 
Css :: css media query overflow 
Css :: text-align css 
Css :: flexbox 
Css :: materializecss 
Css :: how to make a link into normal text css 
Css :: color tr first row css 
Css :: border radius color html 
Css :: css crop image 
ADD CONTENT
Topic
Content
Source link
Name
5+6 =