mirror of
https://github.com/talktao/Vue3-Vite-Vant-TS-H5.git
synced 2025-04-06 03:57:55 +08:00
feat:公共样式更新
This commit is contained in:
parent
afacf6bb28
commit
dc6fb38490
@ -47,6 +47,12 @@ html {
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
.text-again-center {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.flex-column{
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
@each $key, $val in $fontSizeS {
|
@each $key, $val in $fontSizeS {
|
||||||
.fs-#{$key} {
|
.fs-#{$key} {
|
||||||
font-size: #{$val};
|
font-size: #{$val};
|
||||||
@ -144,7 +150,7 @@ html {
|
|||||||
border-radius: #{$val};
|
border-radius: #{$val};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//.opation-75 {opacity: 0.75}
|
//.opacity-75 {opacity: 0.75}
|
||||||
@for $index from 0 through 4 {
|
@for $index from 0 through 4 {
|
||||||
.opacity-#{$index * 25} {
|
.opacity-#{$index * 25} {
|
||||||
opacity: #{$index * 0.25};
|
opacity: #{$index * 0.25};
|
||||||
|
@ -62,7 +62,7 @@ $fontSizeS: (
|
|||||||
4: calc(3.2vw * 1.2),
|
4: calc(3.2vw * 1.2),
|
||||||
3: calc(3.2vw * 1.3),
|
3: calc(3.2vw * 1.3),
|
||||||
2: calc(3.2vw * 1.4),
|
2: calc(3.2vw * 1.4),
|
||||||
1: calc(3.2vw * 1.5),
|
1: calc(3.2vw * 2.3),
|
||||||
);
|
);
|
||||||
$textAlignDirs: (left, center, right);
|
$textAlignDirs: (left, center, right);
|
||||||
//导出js变量
|
//导出js变量
|
||||||
|
Loading…
x
Reference in New Issue
Block a user