JSFiddle - React, Tailwind, and code Playground
by rwaldron
HTML
<div id="test">This will be the element with a specified percentage width</div>
CSS
div#test {
max-width: 50%;
}
JavaScript
$(document).ready(function() {
console.log($('div#test').css('max-width'));
});