HTML & CSS

Change scrollbar style

Change scrollbar style

main.scss

::-webkit-scrollbar {
    height: 0.25vw;
    width: 0.25vw;
  }
  ::-webkit-scrollbar-thumb {
    background: $color-1;
  }
  ::-webkit-scrollbar-track {
    background: $light;
  }
  
  
 /* Internet explorer */
  body {
    scrollbar-arrow-color: $color-1;
    scrollbar-3dlight-color: lighten($color-1,20%);
    scrollbar-highlight-color:lighten($color-1,15%);
    scrollbar-face-color: $color-1;
    scrollbar-shadow-color:lighten($color-1,10%);
    scrollbar-darkshadow-color:lighten($color-1,5%);
    scrollbar-track-color:lighten($color-1,40%);
  }
    

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다