Home > database >  How to remove scroll bar after making the website responsive?
How to remove scroll bar after making the website responsive?

Time:05-08

After I made responsive using vanilla CSS, I am getting scroll bar in the bottom, how to get rid of this? Does Tailwind CSS provides a better solution to it?

CodePudding user response:

You can hide scrollbars on HTML elements using css rule overflow: hidden. Browsers show a scrollbar by default if the contents of an element overflow the parent element's size. The equivalent Tailwind class is overflow-hidden

  • Related