1
I have a text that I would like to "stretch", that is, leave spacing between letters until the end of the div, is there any way to do it? A div must have height static. I can use both Jquery as CSS.
I’ve searched a lot of places but I could only see the font-size but that’s not what I intend.
When you say "stretch," you mean height or width?
– Victor Pereira
Width, because as I said, I didn’t want to change the height
– I_like_trains
There is a hack with the element
after: https://jsfiddle.net/trp2ck2h/1/. This is what you need?– Woss
Maybe this algorithm will help you: http://jsfiddle.net/DMw6Z/, adjusts the property
letter-spacingaccording to the width of the parent element (parent).– Mathiasfc
@Andersoncarloswoss That’s exactly what I needed! Add as response and it will be accepted.
– I_like_trains