Answer the question
In order to leave comments, you need to log in
How to customize code formatting with Prettier plugin?
Good afternoon!
As in any studio / code editor, there are plugins that format all written code, extra spaces, line breaks, etc.
Use vs code , installed Prettier plugin . I couldn’t understand why media queries didn’t work in css , it turns out that the plugin corrected the formatting in its own way.
It was like this:
@media all and (max-width: 1220px) {
.container {
margin: 15px 0 0 0;
flex: 1 0 100%;
}
}
@media all and(max-width: 1220px) {
.container {
margin: 15px 0 0 0;
flex: 1 0 100%;
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question