You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
934 B
SCSS
55 lines
934 B
SCSS
1 year ago
|
/*reset 重置样式*/
|
||
|
body,
|
||
|
ul,
|
||
|
ol,
|
||
|
li,
|
||
|
p,
|
||
|
h1,
|
||
|
h2,
|
||
|
h3,
|
||
|
h4,
|
||
|
h5,
|
||
|
h6,
|
||
|
form,
|
||
|
fieldset,
|
||
|
table,
|
||
|
td,
|
||
|
img,
|
||
|
div {
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
border: 0;
|
||
|
}
|
||
|
body {
|
||
|
background: rgba(246, 248, 249, 1);
|
||
|
color: #454b50;
|
||
|
font-size: 16px;
|
||
|
font-family: MicrosoftYaHei-Bold, MicrosoftYaHei;
|
||
|
}
|
||
|
|
||
|
/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
|
||
|
::-webkit-scrollbar {
|
||
|
width: 1px;
|
||
|
height: 10px;
|
||
|
background-color: #fff;
|
||
|
}
|
||
|
|
||
|
/*定义滚动条轨道 内阴影+圆角*/
|
||
|
::-webkit-scrollbar-track {
|
||
|
-webkit-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);
|
||
|
border-radius: 10px;
|
||
|
background-color: lightgray;
|
||
|
}
|
||
|
|
||
|
/*定义滑块 内阴影+圆角*/
|
||
|
::-webkit-scrollbar-thumb {
|
||
|
border-radius: 10px;
|
||
|
-webkit-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);
|
||
|
background-color: #9d9898;
|
||
|
}
|
||
|
/*定义最上方和最下方的按钮*/
|
||
|
::-webkit-scrollbar-button {
|
||
|
/* background-color: #000;
|
||
|
border:1px solid yellow; */
|
||
|
}
|