JSFiddle - React, Tailwind, and code Playground

HTML

<div>I'm A Cube!</div>

CSS

div {
    height: 300px;
    width: 500px;
    background-color: black;
    color: white;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    padding-top: 200px;
}

JavaScript

//alert($('div').css('height'));

/*var css = $('div').css([
    "width", "height", "color", "background-color"
  ]);

$('div').text(JSON.stringify(css));*/

//$('div').css({'font-size': '15px', 'font-weight': 'light', 'color': 'gray'});

/*$('div').on('click', function() {
    $(this).css('width', function(i, val) {
        val = parseInt(val);
        return val - 100;
    });
});*/