scss-library/components/00_Global/_alignment.scss

46 lines
475 B
SCSS

@mixin align-content {
* {
text-align: unset;
display: flex;
flex-direction: row;
}
&--fixedSize {
flex: 0 0;
width: min-content;
}
&--center {
text-align: center;
* {
justify-content: center;
}
}
&--left {
text-align: left;
* {
justify-content: flex-start;
}
}
&--right {
text-align: right;
* {
justify-content: flex-end;
}
}
}
@mixin reset {
margin: 0;
padding: 0;
top: 0;
bottom: 0;
left: 0;
right: 0;
}