JSFiddle - React, Tailwind, and code Playground
HTML
<div class="text">
<div class="txt1">
<p>
In the land of Hyrule, there echoes a legend. A legend held dearly by the Royal Family that tells of a boy...
</p>
</div>
<div class="txt2">
<p>
A boy who, after battling evil and saving Hyrule, crept away from the land that had made him a legend...
</p>
</div>
<div class="txt3">
<p>
Done with the battles he once waged across time, he embarked on a journey. A secret and personal journey...
</p>
</div>
<div class="txt4">
<p>
A journey in search of a beloved and invaluable friend...
</p>
</div>
<div class="txt5">
<p>
A friend with whom he parted ways when he finally fulfilled his heroic destiny and took his place among legends...
</p>
</div>
</div>
CSS
body {
background:black;
height:100vh;
width:100vw;
}
.text {
max-width:50vw;
position:absolute;
top:50%;
left:50%;
transform:translate(-50%, -50%);
}
.txt1, .txt2, .txt3, .txt4, .txt5 {
display:none;
color:white;
font-size:24px;
text-align:center;
}
JavaScript
$(".txt1").fadeIn("slow").delay(4000).fadeOut("slow");
$(".txt2").delay(6000).fadeIn("slow").delay(4000).fadeOut("slow");
$(".txt3").delay(12000).fadeIn("slow").delay(4000).fadeOut("slow");
$(".txt4").delay(18000).fadeIn("slow").delay(4000).fadeOut("slow");
$(".txt5").delay(24000).fadeIn("slow").delay(4000).fadeOut("slow");