JSFiddle - React, Tailwind, and code Playground
by davestein
HTML
<html>
<body>
<div id="weight-400">400</div>
<div id="weight-600">600</div>
<div id="weight-700">700</div>
</body>
</html>
CSS
#weight-400 { font-weight: 400; }
#weight-600 { font-weight: 600; }
#weight-700 { font-weight: 700; }
JavaScript
console.log( $('#weight-400').css('font-weight') );
console.log( $('#weight-600').css('font-weight') );
console.log( $('#weight-700').css('font-weight') );