textarea::-webkit-scrollbar-track
{
background-color:rgba(6,12,24,0);
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.22);
}
/*定义滚动条高宽及背景*/
textarea::-webkit-scrollbar
{
width: 10px;
background-color: rgba(0, 0, 0, 0.1);
}
/*定义滚动条*/
textarea::-webkit-scrollbar-thumb
{
background-color:rgba(6,12,24,0);
border-radius: 10px;
}
滚动条设置颜色背景等
最新推荐文章于 2024-05-08 10:11:08 发布