Change scrollbar width in Internet Explorer

I am new to stackoverflow.

I need to resize and scrollbar width.

I tried in different ways, I can only change its color, but not resize.

+4
source share
2 answers

There is no way to change the style of browser scroll styles except for web browser-based browsers (Google Chrome, Safari, new Opera). So, in order to create a custom scrollbar, you have to imitate it with js. There are many jQuery plugins - some are better, worse, some are appropriate for your needs, some are not. Try: jQuery Scrollbar , jScrollPane , Malihu Custom Scrollbar

+4
source

Although this is a rather old question. MSIE has a feature that allows scrolling to hide when not in use. This is very similar to the OSX lion scrollbars. Plain CSS, NO JS.

  body {

  scrollbar-base-color: #222;
  scrollbar-3dlight-color: #222;
  scrollbar-highlight-color: #222;
  scrollbar-track-color: #3e3e42;
  scrollbar-arrow-color: #111;
  scrollbar-shadow-color: #222;
  scrollbar-dark-shadow-color: #222; 
  -ms-overflow-style: -ms-autohiding-scrollbar;
}

MSIE, , , -ms-authiding-scrollbar.

  • . #id .class .
+2

Source: https://habr.com/ru/post/1539534/


All Articles