O
O
Outsider V.2019-07-11 15:45:50
css
Outsider V., 2019-07-11 15:45:50

Is there a plugin for LESS ordering?

Is there a plugin for PHPStorm that can automatically order nested selectors in LESS. For example, from this code (partially imported from CSS):

selector3 > selector4 {
// rules
}
selector1 selector2 {
// rules
}

Make like this:
selector1 {
  selector2 {
    // rules
  }
}
selector3 {
  > selector4 {
    // rules
  }
}

And that also there (preferably) there was a grouping of styles by media queries.
If not for PHPStorm, then maybe there is at least such an online service?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lagudal, 2019-07-11
@lagudal

On the first one - decompiling css into less - I haven’t heard anything, so I won’t lie.
On the second -

And that also there (preferably) there was a grouping of styles by media queries.
If not for PHPStorm, then maybe there is at least such an online service?

there is group-css-media-queries
Ready for different builders, for webpack , for gulp
I mainly use gulp, it's very convenient.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question