title: How can I get height of any element using LESS?
body: <p>How can I get height of any element using LESS?</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;title&gt;&lt;/title&gt;
  
  &lt;style&gt;
  
      html, body {
          height: 100%;
      }
  
      header {
          height: auto;
          text-align: center;
          background: red;
      }
  
      @windowHeight: `$(window).height()`;
      @headerHeight: `$('header').height()`; /* NOT WORKING */
  
      @sectionHeight: @windowHeight - @headerHeight;
  
      section {
          height: ~'@{sectionHeight}px';
          text-align: center;
          background: green;
      }
  
  &lt;/style&gt;
  
  &lt;/head&gt;
  &lt;body&gt;
  
      &lt;header&gt;TITLE&lt;header&gt;
  
      &lt;section&gt;TEXT&lt;/section&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>How can I get height of any element using LESS?</p>
  
  <p>Example if I set <code>&lt;header&gt;</code> <code>height = 100px</code>, then this code is working</p>