33 lines
507 B
SCSS
33 lines
507 B
SCSS
@mixin vertical-align($position: relative) {
|
|
position: $position;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
@mixin flexNowrap() {
|
|
display: inline-flex;
|
|
flex-wrap: nowrap;
|
|
width: 100%;
|
|
height: $Hh;
|
|
}
|
|
|
|
@mixin inlineflex(){
|
|
display: inline-flex;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
@mixin flexcenter(){
|
|
display: inline-flex;
|
|
align-items: center;
|
|
}
|
|
|
|
@mixin upper(){
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
@mixin flexcenter_column(){
|
|
display: inline-flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|