This commit is contained in:
A1300399510
2023-07-25 18:28:49 +08:00
parent a733aa68ae
commit fff3c786a8
2 changed files with 92 additions and 34 deletions

View File

@@ -114,4 +114,27 @@ input[type="number"] {
font-style: normal;
font-display: swap;
}
.no-scrollbar {
scrollbar-width: none;
/* 隐藏滚动条 */
&::-webkit-scrollbar {
width: 0;
background-color: transparent;
}
&::-webkit-scrollbar-thumb {
background-color: transparent;
}
&::-webkit-scrollbar-track {
background-color: transparent;
}
&::-webkit-scrollbar {
display: none;
/* 隐藏 Chrome 浏览器的滚动条 */
}
}
</style>