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

46 lines
480 B
SCSS
Raw Normal View History

2020-08-23 11:36:58 +02:00
@mixin RV-AlignContent {
2020-08-21 16:50:22 +02:00
* {
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;
}
}
}
2020-08-23 11:36:58 +02:00
@mixin RV-Reset {
2020-08-21 16:50:22 +02:00
margin: 0;
padding: 0;
top: 0;
bottom: 0;
left: 0;
right: 0;
}