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

46 lines
475 B
SCSS
Raw Normal View History

2020-08-21 16:50:22 +02:00
@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;
}