Answer the question
In order to leave comments, you need to log in
Is it correct to use mixins in this way?
Salute to all!
I wondered if it was correct to use mixins in this way (without arguments)?
@mixin flex {
display: flex;
justify-content: space-between;
}
@mixin center {
display: flex;
justify-content: center;
align-items: center;
}
@mixin column {
display: flex;
flex-direction: column;
}
Answer the question
In order to leave comments, you need to log in
1. Open the SASS/SCSS
documentation
2. View examples
3. See the answer to your question directly in the first example.
4. Rejoice.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question