feat: 初始化
This commit is contained in:
35
pages/components/segmented/index.scss
Normal file
35
pages/components/segmented/index.scss
Normal file
@ -0,0 +1,35 @@
|
||||
::-webkit-scrollbar-thumb {
|
||||
display: none;
|
||||
}
|
||||
::-webkit-scrollbar {
|
||||
width: 0px;
|
||||
height: 0px;
|
||||
}
|
||||
|
||||
.segmentedWrapper {
|
||||
overflow-x: auto;
|
||||
.segmented {
|
||||
position: relative;
|
||||
display: grid;
|
||||
width: max-content;
|
||||
min-width: 100%;
|
||||
padding-bottom: 10px;
|
||||
//border-bottom: 1px solid #ececec;
|
||||
box-sizing: border-box;
|
||||
font-size: 18px;
|
||||
.segmentedItem {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
padding: 0px 6px;
|
||||
}
|
||||
.segmentedThumb {
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
height: 2px;
|
||||
background-color: #333333;
|
||||
transition: all 0.3s ease-out;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user