This commit is contained in:
2023-08-11 10:45:20 +08:00
commit 161ca982f3
31850 changed files with 2706500 additions and 0 deletions

41
src/styles/mixin.scss Normal file
View File

@ -0,0 +1,41 @@
@mixin fontWeightSize($weight,$size){
font-size: $size;
font-weight: $weight;
}
@mixin bgFontColor($color,$bgcolor){
color:$color;
background: $bgcolor;
}
@mixin all-height($height) {
height: $height;
line-height: $height;
}
@mixin whLin($width,$height){
width: $width;
@include all-height($height)
}
@mixin widHeiMar($width,$height,$marin){
width: $width;
height: $height;
margin-right: $marin;
}
@mixin wh($w,$h){
width: $w;
height: $h;
}
@mixin flexColumn{
display: flex;
flex-direction: column;
}
@mixin flexBetween(){
@include flexColumn;
justify-content: space-between;
}
@mixin flexColBet(){
display: flex;
justify-content: space-between;
}
@mixin flexCenter(){
display: flex;
align-items: center;
}