The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS When a line breaks making the bottom line longer

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #191200

    Is there anyway to do this? I was wondering if I have two lines of text is it possible to make the bottom line longer so that it visually resembles steps? The text I’m pulling in is dynamic so I can’t do it manually.


    I’m not aware of any CSS property that will limit the width of continuous text such as you suggest.

    Frankly, I’m struggling to think of a use case for this…is there a design issue we’re not aware of?

    Are you trying to shape text around another element?


    Definitely need a more specific use case for exact assistance, but maybe something like this is what you’re looking for and will get you started:

    Edit: This is just with word count, if you’re looking for exact character-type counts it’s going to be the same basic idea.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.