JSFiddle - React, Tailwind, and code Playground
by Cone
HTML
<ul>
<li class="lid">
<p class="now_way">5 000 000 000 <sup class="sup_k">tenge</sup>
</p>
</li>
</ul>
CSS
* {
margin:0;
padding:0;
}
.lid {
float:left;
width:600px;
padding:10px;
text-align:center;
background:#f4f4f4;
position:relative;
}
.now_way {position:relative;font-size:400%;}
.sup_k {
top:0;
margin-left:5px;
line-height:230%;
font-size:50%;
position:absolute;
}