JSFiddle - React, Tailwind, and code Playground

HTML

<h2>H2</h2><div class="text">Text</div>

CSS

h2 {
color:black;
font-family: Calibri;
font-size: 25px;
display: inline;
}
.text {
color:black;
font-family: Verdana;
font-size: 20px;
display: inline;
}