V
V
vasIvas2015-11-14 16:54:37
css
vasIvas, 2015-11-14 16:54:37

How to cut string by like?

There are ul>li*3>span TEXT, which are inline. Is it possible to do something so that if, when the width set by ul is increased, words that go beyond the boundaries are cut off and dots appear? I just want to emphasize once again that you need to cut not by letter, but by word.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivanq, 2015-11-14
@Ivanq

text-overflow: ellipsis;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question