<span id="elem">Hello!</span> <script> alert( getComputedStyle(elem).width ); // auto </script>
This Pen is owned by Hsoub on CodePen.
See more by @Hsoub on CodePen
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.