JSFiddle - React, Tailwind, and code Playground

HTML

<div class="green">
Latest News
</div>
<div class="black">
Some text here

</div>

CSS

.green{
    height:30px; 
    background-color:#3E6A56;
    color:#FFF;
    width:130px;
    float:left;  
    width:30%;
}
.black{
    height:30px; 
    background-color:#000000; display:inline;
    float:right;
    color:#FFF;
    width:70%;
}