Files
supplier-dispatch-h5/src/styles/mixin.scss
2023-08-11 10:45:20 +08:00

41 lines
790 B
SCSS

@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;
}