A
A
Aleaxander Burykin2017-05-28 19:38:30
css
Aleaxander Burykin, 2017-05-28 19:38:30

What plugin to arrange styles in WebStorm?

Interested in a native solution or a plugin that will allow you to use a key combination to change the arrangement of properties in a .sass file, or in a selected code fragment by priority


Properties that affect the document the most are listed first.
It is recommended that you list the properties in the following order:
  • First, the position of the element relative to others: position, left/right/top/bottom, float, clear, z-index.
  • Then dimensions and padding: width, height, margin, padding…
  • The border frame, it is partly related to the size.
  • General content styling: list-style-type, overflow…
  • Color and styling: background, color, font…

Taken from learn.javascript.ru
If this is not the case, it would be interesting to hear if it is difficult to write something like this, if there was experience, or suitable resources, I will be happy with everything

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Lysenko, 2017-05-28
@burykinslams

Try using csscomb , more details here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question