.test { width: 200px; height: 200px; background-color:skyblue; overflow-y: scroll; -ms-overflow-style: none; /* 인터넷 익스플로러 */ scrollbar-width: none; /* 파이어폭스 */ } .test::-webkit-scrollbar { display: none; /* 크롬, 사파리, 오페라, 엣지 */ }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter