M
M
moow2021-02-03 01:10:14
phpstorm
moow, 2021-02-03 01:10:14

How to quickly convert HTML to CSS classes in PhpStorm?

I wrote the HTML code, I want to copy it, and paste only the css/scss classes ready for layout so that I don't have to write it twice.

It was

<div classhello”>
<p classyes”>I’m here</p>
</div>


It became

.hello{}
.yes{}


Is there a MB plugin, or can I do it out of the box? Or should I teach the neural network again?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question