Is there a plug-in for Sublime Text for transferring from already existing HTML, the structure of classes in CSS, for example, here is the structure:

<ul class="menu"> <li class="menu__item"><a href="#" class="menu__link"></a></li> <li class="menu__item"><a href="#" class="menu__link"></a></li> <li class="menu__item"><a href="#" class="menu__link"></a></li> </ul> 

And after selecting and pressing a hotkey, in CSS, say, the following is inserted at the end of the file:

 .menu { } .menu__item { } .menu__link { } 

    3 answers 3

    Yes, there is such a plugin, CSS Primer - https://packagecontrol.io/packages/CSS%20Primer

      The plugin was not found, but I can recommend the services http://extractcss.com/ + http://css2less.cc/

      • Thanks for the links =) - sikwelon

      The plugin is called Tag, look even on YouTube there is a video in Russian on it https://packagecontrol.io/packages/Tag