Example:
$(el).css("height"); does not fit, as it just gets the size of the height of the window. Need to get exactly the value of the styles. That is, in the styles indicated exactly height: calc(100vh - 49px); and the script simply returns the block size in px.