Hihi everyone, can this be done by snippet or it need to be achieved by plugin?
In CSS, I’d love all the properties being sorted within the selector. For example:
.element {
position: absolute;
display: flex;
}
Now as I adding a new property like top: 0;
into the selector .element
, then I hit enter ( when the cursor is at the end of the line, before the semicolon ), it will go to the new line by defaut.
The expected result should be:
.element {
display: flex;
position: absolute;
top: 0;
}
Where it auto sorted all the properties within the selector. And if I don’t hit enter, it should also auto sort all the properties within the selector after 3 seconds.