提交 | 用户 | age | ||
2a61f6 | 1 | @mixin clearfix { |
L | 2 | &:after { |
3 | content: ""; | |
4 | display: table; | |
5 | clear: both; | |
6 | } | |
7 | } | |
8 | ||
9 | @mixin scrollBar { | |
10 | &::-webkit-scrollbar-track-piece { | |
11 | background: #d3dce6; | |
12 | } | |
13 | ||
14 | &::-webkit-scrollbar { | |
15 | width: 6px; | |
16 | } | |
17 | ||
18 | &::-webkit-scrollbar-thumb { | |
19 | background: #99a9bf; | |
20 | border-radius: 20px; | |
21 | } | |
22 | } | |
23 | ||
24 | @mixin relative { | |
25 | position: relative; | |
26 | width: 100%; | |
27 | height: 100%; | |
28 | } |