3
I have a div .content
that groups all content of the site with the following css:
margin: 15px 12px;
background: #fff;
padding: 20px;
height: calc(100vh - 30px);
overflow: auto;
My body has a background: #222
Different, to simulate an edge.
It’s 100% functional, but I want to remove that sidebar on the side of the main div. If I put a overflow: hidden;
in my .content
, Scroll some, along with the possibility to scroll the page. Any solution in jQuery or even in pure CSS (it works, too, outside of Chrome)?
https://css-tricks.com/custom-scrollbars-in-webkit/ ai if it gives a trick to disappear...
– MagicHat
Does not work in Firefox.
– Daniel Bonifácio
hum... and this...v is helped:https://coderwall.com/p/4wa6ba/hide-browser-scroll-bars
– MagicHat