JSFiddle - React, Tailwind, and code Playground

HTML

<div class="customBox">
    Let me be just about 125 pixels short than your viewport width.
</div>

CSS

.customBox{
    background-color:#000;
    color:#fff;
    width:calc(100% - 125px);
}