JSFiddle - React, Tailwind, and code Playground

by techiedelight

HTML

<div id="container"></div>

CSS

.dimention {
  width: 500px;
  height: 300px;
}

.border {
  border: 1px solid blue;
}

JavaScript

document.getElementById("container").className = "dimention border";