代码:
<style>
/deep/::-webkit-scrollbar {
width: 8px;
height: 8px;
background-color: #062d56;
}
/deep/::-webkit-scrollbar-thumb {
background-color: #2a79c0;
border-radius: 3px;
}
</style>
实现效果:
注意:此代码只适用于谷歌浏览器
代码:
<style>
/deep/::-webkit-scrollbar {
width: 8px;
height: 8px;
background-color: #062d56;
}
/deep/::-webkit-scrollbar-thumb {
background-color: #2a79c0;
border-radius: 3px;
}
</style>
实现效果:
注意:此代码只适用于谷歌浏览器