JSFiddle - React, Tailwind, and code Playground
by pedro_g_s
HTML
<html>
<head>
<meta charset="UTF-8"/>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
border-width: 0px;
font-smooting: auto;
-webkit-font-smoothing: auto;
word-break: break-word;
}
#container {
background: red;
width: 224px;
height: 46px;
}
</style>
</head>
<body>
<div id="container">
<span style="font-family: Helvetica; color: rgb(0, 0, 0); font-size: 24px;">font 24 + </span><span style="font-family: Helvetica; color: rgb(0, 0, 0); font-size: 40px;">font 40</span>
</div>
</body>