JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<div class="small">ttttttttttttttttttttttttt
</div>
CSS
#small {font-size:70px;cursor: pointer;}
div.big {font-size:10px;}
JavaScript
$( "small" ).click(function() {
$( this ).replaceWith( "big" + $( this ).text() + "</div>" );
});