JSFiddle - React, Tailwind, and code Playground

by zerolfc

HTML

<div id="o29270033" style="left: 716px; top: 575px; width: 423px; height: 160px; z-index: 3; transform: rotate(0deg); transform-origin: center center 0px; font-size: 13px; font-family: tahoma, sans-serif; opacity: 1; border-radius: 0px; background-color: transparent; background-size: cover; background-repeat: no-repeat; background-image: url(&quot;none&quot;); color: rgb(0, 0, 0); border-color: rgb(0, 0, 0); border-width: 0px; box-shadow: rgb(0, 0, 0) 0px 0px 0px; pointer-events: auto;" class="ss-object ss-text desktop zindexable sec-article  page-left   copyable selected ui-resizable ui-draggable ui-draggable-handle"><div class="text"><p style="text-align:justify"><strong><span style="font-size:15px"><span style="font-family:quicksandregular,sans-serif" class="">Our software will enable&nbsp;you to respond to all incoming contacts with your business with&nbsp;pure simplicity, ease and speed so all you and your staff will need&nbsp;to do is,&nbsp;click&nbsp;the notifications as&nbsp;they pop up in your software and&nbsp;respond directly to each tweet, like, follow, message, email, SMS, live chat, purchase, review,&nbsp;etc. saving you huge amounts of time and money.</span></span></strong></p>
</div><div class="ui-resizable-handle ui-resizable-n" style="z-index: 90;"></div><div class="ui-resizable-handle ui-resizable-e" style="z-index: 90;"></div><div class="ui-resizable-handle ui-resizable-s" style="z-index: 90;"></div><div class="ui-resizable-handle ui-resizable-w" style="z-index: 90;"></div><div class="ui-resizable-handle ui-resizable-se ui-icon ui-icon-gripsmall-diagonal-se" style="z-index: 90;"></div><div class="ui-resizable-handle ui-resizable-sw" style="z-index: 90;"></div><div class="ui-resizable-handle ui-resizable-ne" style="z-index: 90;"></div><div class="ui-resizable-handle ui-resizable-nw" style="z-index: 90;"></div></div>

JavaScript

var _tv = $('#o29270033');
console.log('outerheight:'+_tv.find('.text').outerHeight());
console.log('height:'+_tv.find('.text').height());
console.log('innerheight:'+_tv.find('.text').innerHeight());
console.log('clientheight:'+_tv.find('.text').get(0).clientHeight);
console.log('offsetheight:'+_tv.find('.text').get(0).offsetHeight);