JSFiddle - React, Tailwind, and code Playground
HTML
<p id="test" class="one two three">Test</p>
CSS
.one {
background: #ffc;
padding: 1em;
}
.two {
border: 0.1em solid #f70;
}
.three {
border-radius: 6px;
box-shadow: 2px 2px 3px #ccc;
}
JavaScript
$(function() {
$('#test').click(function() {
$(this).removeClass();
});
});