I have a really long text and I want this text to stretch to fit my div's width. I found this but I can't change it to appropriate form in my situation http://jsfiddle.net/eGjak/887/ I made a function which puts words into div "mytext". Can anyone help?
Html:
<div id="parentdiv">
<div id="mytext"></div>
</div>
Css:
#mytext {
color: white;
font-size: 25vmin;
font-variant: small-caps;
text-shadow: 0 0 20px #000;
}
#parentdiv {
display: flex;
position: absolute;
top: -4%;
left: 0%;
justify-content: center;
line-height: 1;
}