JSFiddle - React, Tailwind, and code Playground
by Florian Bar
HTML
<div class="table">
<div class="col">
Col 1
</div>
<div class="col">
<div class="text">
Poetry has a long and varied history, evolving differentially across the globe. It dates back at least to prehistoric times with hunting poetry in Africa, and to panegyric and elegiac court poetry of the empires of the Nile, Niger, and Volta River valleys.[4] Some of the earliest written poetry in Africa occurs among the Pyramid Texts written during the 25th century BCE. The earliest surviving Western Asian epic poetry, the Epic of Gilgamesh, was written in Sumerian. Early poems in the Eurasian continent evolved from folk songs such as the Chinese Shijing, as well as religious hymns (the Sanskrit Rigveda, the Zoroastrian Gathas, the Hurrian songs, and the Hebrew Psalms); or from a need to retell oral epics, as with Egyptian The Story of Sinuhe, the Indian epic poetry, and the Homeric epics, the Iliad and the Odyssey. Ancient Greek attempts to define poetry, such as Aristotle's Poetics,
</div>
</div>
<div class="col">
Col 3
</div>
</div>
CSS
.table { display: table; width: 500px; background: red; }
.col { display: table-cell; width: 20%; }
.text {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 100%;
}