I have a liquid layout and am learning/ using Less.js for my CSS.
I have a div 'A' that needs to take account of the user viewbox, substract another div 'B' height (which is in %) and finally another div 'C' which is in pixel.
Here is what I thought would work but doesn't:
@menubarsHeight: 7%; // declaring variable with div 'B' 's height.
@ttlHeight: '$(window).height()'; // calculating height using jquery
@midParentHeight: -20px + @didParentHeight - @menubarsHeight; // calculating the height based on the above two variables, -20px is the height of div 'C'.