JSFiddle - React, Tailwind, and code Playground

by simoneast

HTML

<html>
<head>
    
</head>
<body>
    <div class="container">
        <div class="left">
            some text goes here
        </div>
        <div class="right">
            some longer bunch of text to go here, it should stick to the right some longer bunch of text to go here, it should stick to the rightsome longer bunch of text to go here, it should stick to the rightsome longer bunch of text to go here, it should stick to the rightsome longer bunch of text to go here, it should stick to the rightsome longer bunch of text to go here, it should stick to the right
        </div>
    </div>
</body>
</html>

CSS

.left { 
    float: left;
}
.right { 
    background-color: #DDD;
    overflow: hidden;
}