Y
Y
Yuri Kalnin2018-08-16 08:22:15
Layout
Yuri Kalnin, 2018-08-16 08:22:15

How to automatically generate less for HTML?

Is there a tool that will make me a less framework for my written html?
either with gulp or maybe there is such an extension in sublime?
i.e. I write html:

<div class="panel">
              
              <div class="panel-body">
                <div class="cart">
                  
                  
                  <div class="caption">
                    <h3>Квартира-студия</h3>
                    <div class="text">
                      Отличный вариант для молодой семьи! Простой, чистый цвет отделки стен подходит под любой дизайн интерьера.
                    </div>
                    <a href="" class="btn btn-danger">Подробнее</a>
                  </div>

                </div>
              </div>          
              
            </div>

and somewhere I get a less structure:
something like:
.panel{
  .panel-body{
      .cart{
        .caption{
        
      }
    }
  }
}

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