R
R
rudenkoalisey1472020-01-31 02:51:57
css
rudenkoalisey147, 2020-01-31 02:51:57

Is there an eCSStractor or equivalent for Webstorm?

Good afternoon. There is already a similar question on the toaster, but it was asked over 3 years ago and never got an answer. Is there any plugin for Webstorm, so that when a piece of html code is selected, it builds css classes

Example

Например чтобы из такого кода:
<div class="block">
    <div class="block__image"></div>
    <div class="block__content">
      <div class="block__title"></div>
      <div class="block__text"></div>
    </div>
  </div>


Делал такое:

.block{}
.block__image{}
.block__content{}
.block__title{}
.block__text{}


А в идеале делал под scss:

.block{
  &__image{}
  &__content{}
  &__title{}
  &__text{}
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Bohdan Petrov, 2020-01-31
@rudenkoalisey147

Look at this

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question