CSS修改滚动条样式

::-webkit-scrollbar {width:6px;height:8px;}
::-webkit-scrollbar-thumb {border-radius:100px;-webkit-box-shadow:inset 0 0 5px rgba(0,0,0,0.2);background:#d1d1d1;}
::-webkit-scrollbar-track {-webkit-box-shadow:inset 0 0 5px rgba(0,0,0,0.2);border-radius:0;background:#fafafa;}

iframe的滚动条样式需要加到 iframe src引入的那个页面上才生效